亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xmlconfiguration.h

?? This software aims to create an applet and panel tools to manage a wireless interface card, such as
?? H
字號(hào):
//
// XMLConfiguration.h
//
// $Id: //poco/Main/Util/include/Util/XMLConfiguration.h#1 $
//
// Definition of the XMLConfiguration class.
//
// Copyright (c) 2004-2005, Guenter Obiltschnig/Applied Informatics.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain the above copyright
//    notice, this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
//    notice, this list of conditions and the following disclaimer in the
//    documentation and/or other materials provided with the distribution.
//
// 3. Redistributions in any form must be accompanied by information on
//    how to obtain complete source code for this software and any
//    accompanying software that uses this software.  The source code
//    must either be included in the distribution or be available for no
//    more than the cost of distribution plus a nominal fee, and must be
//    freely redistributable under reasonable conditions.  For an
//    executable file, complete source code means the source code for all
//    modules it contains.  It does not include source code for modules or
//    files that typically accompany the major components of the operating
//    system on which the executable file runs.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
// COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
// ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//


#ifndef Util_XMLConfiguration_INCLUDED
#define Util_XMLConfiguration_INCLUDED


#ifndef Util_Util_INCLUDED
#include "Util/Util.h"
#endif
#ifndef Util_MapConfiguration_INCLUDED
#include "Util/MapConfiguration.h"
#endif
#ifndef DOM_Document_INCLUDED
#include "DOM/Document.h"
#endif
#ifndef DOM_AutoPtr_INCLUDED
#include "DOM/AutoPtr.h"
#endif
#ifndef SAX_InputSource_INCLUDED
#include "SAX/InputSource.h"
#endif
#ifndef STD_ISTREAM_INCLUDED
#include <istream>
#define STD_ISTREAM_INCLUDED
#endif


Util_BEGIN


class Util_API XMLConfiguration: public AbstractConfiguration
	/// This configuration class extracts configuration properties
	/// from an XML document. An XPath-like syntax for property
	/// names is supported to allow full access to the XML document.
	/// XML namespaces are not supported. The name of the root element
	/// of an XML document is not significant. Periods in tag names
	/// are not supported.
	/// 
	/// Given the following XML document as an example:
	///
	///     <config>
	///         <prop1>value1</prop1>
	///         <prop2>value2</prop2>
	///         <prop3>
	///            <prop4 attr="value3"/>
	///            <prop4 attr="value4"/>
	///         </prop3>
	///         <prop5>value5</prop5>
	///         <prop5>value6</prop5>
	///     </config>
	///
	/// The following property names would be valid and would
	/// yield the shown values:
	///
	///     prop1                 -> value1
	///     prop2                 -> value2
	///     prop3.prop4           -> (empty string)
	///     prop3.prop4[@attr]    -> value3
	///     prop3.prop4[1][@attr] -> value4
	///     prop5[0]              -> value5
	///     prop5[1]              -> value6
	///
	/// Enumerating attributes is not supported.
	/// Calling keys("prop3.prop4") will return an empty range. 
	///
	/// Setting properties is not supported. An attempt to set a property results
	/// in a NotImplementedException being thrown.
{
public:
	XMLConfiguration();
		/// Creates an empty XMLConfiguration.

	XMLConfiguration(XML::InputSource* pInputSource);
		/// Creates an XMLConfiguration and loads the XML document from
		/// the given InputSource.

	XMLConfiguration(std::istream& istr);
		/// Creates an XMLConfiguration and loads the XML document from
		/// the given stream.

	XMLConfiguration(const std::string& path);
		/// Creates an XMLConfiguration and loads the XML document from
		/// the given path.

	XMLConfiguration(const XML::Document* pDocument);
		/// Creates the XMLConfiguration using the given XML document.
		
	XMLConfiguration(const XML::Node* pNode);
		/// Creates the XMLConfiguration using the given XML node.

	void load(XML::InputSource* pInputSource);
		/// Loads the XML document containing the configuration data
		/// from the given InputSource.

	void load(std::istream& istr);
		/// Loads the XML document containing the configuration data
		/// from the given stream.
		
	void load(const std::string& path);
		/// Loads the XML document containing the configuration data
		/// from the given file.
		
	void load(const XML::Document* pDocument);
		/// Loads the XML document containing the configuration data
		/// from the given XML document.

	void load(const XML::Node* pNode);
		/// Loads the XML document containing the configuration data
		/// from the given XML node.

protected:
	bool getRaw(const std::string& key, std::string& value) const;
	void setRaw(const std::string& key, const std::string& value);
	void enumerate(const std::string& key, Keys& range) const;
	~XMLConfiguration();

private:
	const XML::Node* findNode(const std::string& key) const;
	static const XML::Node* findNode(std::string::const_iterator& it, const std::string::const_iterator& end, const XML::Node* pNode);
	static const XML::Node* findElement(const std::string& name, const XML::Node* pNode);
	static const XML::Node* findElement(int index, const XML::Node* pNode);
	static const XML::Node* findAttribute(const std::string& name, const XML::Node* pNode);

	XML::AutoPtr<XML::Node>     _pRoot;
	XML::AutoPtr<XML::Document> _pDocument;
};


Util_END


#endif // Util_XMLConfiguration_INCLUDED

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99国产欧美久久久精品| 国产九色sp调教91| 一区2区3区在线看| 亚洲欧洲美洲综合色网| 国产精品免费视频网站| 国产精品嫩草99a| 欧美韩日一区二区三区| 国产精品丝袜在线| 中文字幕一区二区三区在线播放 | 欧美剧情片在线观看| 欧美日韩一区二区三区四区 | 欧美性做爰猛烈叫床潮| 欧美伊人久久久久久久久影院 | 国产一区二区三区四区五区美女| 开心九九激情九九欧美日韩精美视频电影| 天堂成人国产精品一区| 五月天国产精品| 午夜av一区二区三区| 男人操女人的视频在线观看欧美| 日韩高清在线电影| 久久精品国产精品青草| 极品美女销魂一区二区三区免费| 国内外成人在线| 成人黄色免费短视频| 91在线国产福利| 久久久久亚洲综合| 欧美性猛交xxxxxxxx| 91久久精品一区二区| 92精品国产成人观看免费 | 中文字幕一区二| 91精品国产入口| 日韩午夜av电影| 91精品国产入口| 精品国产乱码久久久久久蜜臀| 免费高清在线一区| 一区二区三区久久| 日韩国产欧美在线视频| 精品一区二区三区不卡| 99综合影院在线| 在线观看成人小视频| 国产精品素人视频| 亚洲精品亚洲人成人网| 日韩高清在线电影| 粉嫩嫩av羞羞动漫久久久| 色婷婷综合久久| 欧美变态tickle挠乳网站| 国产精品毛片久久久久久久| 亚洲香蕉伊在人在线观| 国产美女精品人人做人人爽 | 色综合中文字幕国产| 精品视频一区二区不卡| 久久久高清一区二区三区| 亚洲欧美色一区| 伦理电影国产精品| 99精品欧美一区二区三区小说| 欧美久久久久久蜜桃| 国产日韩欧美综合在线| 午夜欧美一区二区三区在线播放| 国产精品白丝jk黑袜喷水| 欧洲一区二区三区在线| 久久日一线二线三线suv| 一区二区三区在线视频免费| 久久国产精品色| 欧美色图在线观看| 欧美激情在线看| 蜜桃视频免费观看一区| 色狠狠桃花综合| 久久久www成人免费毛片麻豆| 亚洲综合色视频| 成人app网站| 久久五月婷婷丁香社区| 亚洲国产aⅴ成人精品无吗| 成人av在线一区二区| 欧美大胆人体bbbb| 视频在线观看一区| 91久久精品国产91性色tv| 97久久精品人人做人人爽50路 | 91久久精品午夜一区二区| 精品国产伦理网| 日韩和的一区二区| 欧美午夜电影网| 亚洲欧美日韩中文播放| 懂色一区二区三区免费观看| 欧美一区二区三区日韩视频| 有码一区二区三区| 在线免费av一区| 久久黄色级2电影| 国产一二精品视频| 欧美精品三级在线观看| 国产精品视频线看| 国产精品18久久久| 欧美一区二区日韩一区二区| 亚洲成人免费电影| 精品污污网站免费看| 亚洲女子a中天字幕| 国产九九视频一区二区三区| 欧美成va人片在线观看| 免费视频一区二区| 欧美另类z0zxhd电影| 亚洲国产三级在线| 日本高清不卡一区| 亚洲男人电影天堂| 99久久精品国产网站| 中文字幕中文乱码欧美一区二区| 国产sm精品调教视频网站| 久久精品视频免费观看| 国产伦精品一区二区三区视频青涩| 日韩欧美一二三| 麻豆精品精品国产自在97香蕉| 日韩情涩欧美日韩视频| 久久精品久久99精品久久| 日韩视频中午一区| 久久国产精品99久久人人澡| 欧美成人vr18sexvr| 国产一区在线不卡| 欧美激情综合网| 99久久伊人精品| 一区二区三区日韩在线观看| 在线观看91精品国产入口| 亚洲一二三级电影| 在线播放中文一区| 美腿丝袜亚洲三区| 久久影院视频免费| 成人性生交大片免费看在线播放| 亚洲国产精品成人综合| 成人精品视频一区| 亚洲男女一区二区三区| 欧美性大战xxxxx久久久| 婷婷久久综合九色综合伊人色| 日韩欧美亚洲另类制服综合在线| 久久精品国产99| 中文字幕精品一区二区精品绿巨人| www.亚洲在线| 亚洲观看高清完整版在线观看 | 亚洲一区二区三区在线| 午夜精品久久久久久久久久久 | 日韩精品一区二区在线| 91在线国产福利| 91蜜桃网址入口| 成人美女视频在线看| eeuss鲁片一区二区三区| 色综合久久九月婷婷色综合| 久久久久久久久久久电影| 成人看片黄a免费看在线| 一区二区成人在线| 亚洲欧美日韩国产综合| 欧美日韩国产片| 国产精品原创巨作av| 国产精品久久久久久久久图文区 | 成人午夜在线播放| 亚洲欧美偷拍另类a∨色屁股| 欧美美女一区二区在线观看| 另类调教123区| 樱花影视一区二区| 日韩欧美一二三区| 一道本成人在线| 麻豆精品一二三| 国产精品电影一区二区| 欧美喷水一区二区| 国产suv精品一区二区三区| 亚洲国产成人av网| 日韩欧美国产精品| 色久优优欧美色久优优| 一个色在线综合| 久久久91精品国产一区二区精品| 欧洲一区在线观看| 国内精品伊人久久久久影院对白| 亚洲伦理在线免费看| 日韩亚洲电影在线| 欧美亚洲一区二区在线观看| 国产乱一区二区| 亚洲一区在线视频观看| 国产人妖乱国产精品人妖| 欧美亚洲高清一区| 成人av在线一区二区| 狠狠色丁香久久婷婷综| 亚洲精品国产a久久久久久| 久久影视一区二区| 欧美性xxxxxxxx| av激情成人网| 丝袜美腿亚洲一区| 1000部国产精品成人观看| 久久这里只有精品首页| 欧美日韩免费视频| 91麻豆国产自产在线观看| 精品一区二区免费在线观看| 亚洲成在人线免费| 亚洲麻豆国产自偷在线| 欧美疯狂做受xxxx富婆| 精品视频1区2区| 色婷婷久久综合| 精品制服美女久久| 久久综合久久99| 天使萌一区二区三区免费观看| 在线播放91灌醉迷j高跟美女| 亚洲天堂精品视频| 国内成+人亚洲+欧美+综合在线 | 三级久久三级久久| 国产成人精品一区二区三区四区| 在线观看一区二区精品视频|