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

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

?? tinyxml.h

?? wince設(shè)置MUTE,設(shè)置設(shè)備靜音的代碼CE下。
?? H
?? 第 1 頁 / 共 5 頁
字號:
/*www.sourceforge.net/projects/tinyxmlOriginal code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)This software is provided 'as-is', without any express or impliedwarranty. In no event will the authors be held liable for anydamages arising from the use of this software.Permission is granted to anyone to use this software for anypurpose, including commercial applications, and to alter it andredistribute it freely, subject to the following restrictions:1. The origin of this software must not be misrepresented; you mustnot claim that you wrote the original software. If you use thissoftware in a product, an acknowledgment in the product documentationwould be appreciated but is not required.2. Altered source versions must be plainly marked as such, andmust not be misrepresented as being the original software.3. This notice may not be removed or altered from any sourcedistribution.*/#ifndef TINYXML_INCLUDED#define TINYXML_INCLUDED#ifdef _MSC_VER#pragma warning( push )#pragma warning( disable : 4530 )#pragma warning( disable : 4786 )#endif#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>// Help out windows:#if defined( _DEBUG ) && !defined( DEBUG )#define DEBUG#endif#ifdef TIXML_USE_STL	#include <string> 	#include <iostream>	#include <sstream>	#define TIXML_STRING		std::string#else	#include "tinystr.h"	#define TIXML_STRING		TiXmlString#endif// Deprecated library function hell. Compilers want to use the// new safe versions. This probably doesn't fully address the problem,// but it gets closer. There are too many compilers for me to fully// test. If you get compilation troubles, undefine TIXML_SAFE#define TIXML_SAFE#ifdef TIXML_SAFE	#if defined(_MSC_VER) && (_MSC_VER >= 1400 )		// Microsoft visual studio, version 2005 and higher.		#define TIXML_SNPRINTF _snprintf_s		#define TIXML_SNSCANF  _snscanf_s		#define TIXML_SSCANF   sscanf_s	#elif defined(_MSC_VER) && (_MSC_VER >= 1200 )		// Microsoft visual studio, version 6 and higher.		//#pragma message( "Using _sn* functions." )		#define TIXML_SNPRINTF _snprintf		#define TIXML_SNSCANF  _snscanf		#define TIXML_SSCANF   sscanf	#elif defined(__GNUC__) && (__GNUC__ >= 3 )		// GCC version 3 and higher.s		//#warning( "Using sn* functions." )		#define TIXML_SNPRINTF snprintf		#define TIXML_SNSCANF  snscanf		#define TIXML_SSCANF   sscanf	#else		#define TIXML_SSCANF   sscanf	#endif#endif	class TiXmlDocument;class TiXmlElement;class TiXmlComment;class TiXmlUnknown;class TiXmlAttribute;class TiXmlText;class TiXmlDeclaration;class TiXmlParsingData;const int TIXML_MAJOR_VERSION = 2;const int TIXML_MINOR_VERSION = 5;const int TIXML_PATCH_VERSION = 3;/*	Internal structure for tracking location of items 	in the XML file.*/struct TiXmlCursor{	TiXmlCursor()		{ Clear(); }	void Clear()		{ row = col = -1; }	int row;	// 0 based.	int col;	// 0 based.};/**	If you call the Accept() method, it requires being passed a TiXmlVisitor	class to handle callbacks. For nodes that contain other nodes (Document, Element)	you will get called with a VisitEnter/VisitExit pair. Nodes that are always leaves	are simple called with Visit().	If you return 'true' from a Visit method, recursive parsing will continue. If you return	false, <b>no children of this node or its sibilings</b> will be Visited.	All flavors of Visit methods have a default implementation that returns 'true' (continue 	visiting). You need to only override methods that are interesting to you.	Generally Accept() is called on the TiXmlDocument, although all nodes suppert Visiting.	You should never change the document from a callback.	@sa TiXmlNode::Accept()*/class TiXmlVisitor{public:	virtual ~TiXmlVisitor() {}	/// Visit a document.	virtual bool VisitEnter( const TiXmlDocument& /*doc*/ )			{ return true; }	/// Visit a document.	virtual bool VisitExit( const TiXmlDocument& /*doc*/ )			{ return true; }	/// Visit an element.	virtual bool VisitEnter( const TiXmlElement& /*element*/, const TiXmlAttribute* /*firstAttribute*/ )	{ return true; }	/// Visit an element.	virtual bool VisitExit( const TiXmlElement& /*element*/ )		{ return true; }	/// Visit a declaration	virtual bool Visit( const TiXmlDeclaration& /*declaration*/ )	{ return true; }	/// Visit a text node	virtual bool Visit( const TiXmlText& /*text*/ )					{ return true; }	/// Visit a comment node	virtual bool Visit( const TiXmlComment& /*comment*/ )			{ return true; }	/// Visit an unknow node	virtual bool Visit( const TiXmlUnknown& /*unknown*/ )			{ return true; }};// Only used by Attribute::Query functionsenum { 	TIXML_SUCCESS,	TIXML_NO_ATTRIBUTE,	TIXML_WRONG_TYPE};// Used by the parsing routines.enum TiXmlEncoding{	TIXML_ENCODING_UNKNOWN,	TIXML_ENCODING_UTF8,	TIXML_ENCODING_LEGACY};const TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN;/** TiXmlBase is a base class for every class in TinyXml.	It does little except to establish that TinyXml classes	can be printed and provide some utility functions.	In XML, the document and elements can contain	other elements and other types of nodes.	@verbatim	A Document can contain:	Element	(container or leaf)							Comment (leaf)							Unknown (leaf)							Declaration( leaf )	An Element can contain:	Element (container or leaf)							Text	(leaf)							Attributes (not on tree)							Comment (leaf)							Unknown (leaf)	A Decleration contains: Attributes (not on tree)	@endverbatim*/class TiXmlBase{	friend class TiXmlNode;	friend class TiXmlElement;	friend class TiXmlDocument;public:	TiXmlBase()	:	userData(0)		{}	virtual ~TiXmlBase()			{}	/**	All TinyXml classes can print themselves to a filestream		or the string class (TiXmlString in non-STL mode, std::string		in STL mode.) Either or both cfile and str can be null.				This is a formatted print, and will insert 		tabs and newlines.				(For an unformatted stream, use the << operator.)	*/	virtual void Print( FILE* cfile, int depth ) const = 0;	/**	The world does not agree on whether white space should be kept or		not. In order to make everyone happy, these global, static functions		are provided to set whether or not TinyXml will condense all white space		into a single space or not. The default is to condense. Note changing this		value is not thread safe.	*/	static void SetCondenseWhiteSpace( bool condense )		{ condenseWhiteSpace = condense; }	/// Return the current white space setting.	static bool IsWhiteSpaceCondensed()						{ return condenseWhiteSpace; }	/** Return the position, in the original source file, of this node or attribute.		The row and column are 1-based. (That is the first row and first column is		1,1). If the returns values are 0 or less, then the parser does not have		a row and column value.		Generally, the row and column value will be set when the TiXmlDocument::Load(),		TiXmlDocument::LoadFile(), or any TiXmlNode::Parse() is called. It will NOT be set		when the DOM was created from operator>>.		The values reflect the initial load. Once the DOM is modified programmatically		(by adding or changing nodes and attributes) the new values will NOT update to		reflect changes in the document.		There is a minor performance cost to computing the row and column. Computation		can be disabled if TiXmlDocument::SetTabSize() is called with 0 as the value.		@sa TiXmlDocument::SetTabSize()	*/	int Row() const			{ return location.row + 1; }	int Column() const		{ return location.col + 1; }	///< See Row()	void  SetUserData( void* user )			{ userData = user; }	///< Set a pointer to arbitrary user data.	void* GetUserData()						{ return userData; }	///< Get a pointer to arbitrary user data.	const void* GetUserData() const 		{ return userData; }	///< Get a pointer to arbitrary user data.	// Table that returs, for a given lead byte, the total number of bytes	// in the UTF-8 sequence.	static const int utf8ByteTable[256];	virtual const char* Parse(	const char* p, 								TiXmlParsingData* data, 								TiXmlEncoding encoding /*= TIXML_ENCODING_UNKNOWN */ ) = 0;	/** Expands entities in a string. Note this should not contian the tag's '<', '>', etc, 		or they will be transformed into entities!	*/	static void EncodeString( const TIXML_STRING& str, TIXML_STRING* out );	enum	{		TIXML_NO_ERROR = 0,		TIXML_ERROR,		TIXML_ERROR_OPENING_FILE,		TIXML_ERROR_OUT_OF_MEMORY,		TIXML_ERROR_PARSING_ELEMENT,		TIXML_ERROR_FAILED_TO_READ_ELEMENT_NAME,		TIXML_ERROR_READING_ELEMENT_VALUE,		TIXML_ERROR_READING_ATTRIBUTES,		TIXML_ERROR_PARSING_EMPTY,		TIXML_ERROR_READING_END_TAG,		TIXML_ERROR_PARSING_UNKNOWN,		TIXML_ERROR_PARSING_COMMENT,		TIXML_ERROR_PARSING_DECLARATION,		TIXML_ERROR_DOCUMENT_EMPTY,		TIXML_ERROR_EMBEDDED_NULL,		TIXML_ERROR_PARSING_CDATA,		TIXML_ERROR_DOCUMENT_TOP_ONLY,		TIXML_ERROR_STRING_COUNT	};protected:	static const char* SkipWhiteSpace( const char*, TiXmlEncoding encoding );	inline static bool IsWhiteSpace( char c )			{ 		return ( isspace( (unsigned char) c ) || c == '\n' || c == '\r' ); 	}	inline static bool IsWhiteSpace( int c )	{		if ( c < 256 )			return IsWhiteSpace( (char) c );		return false;	// Again, only truly correct for English/Latin...but usually works.	}	#ifdef TIXML_USE_STL	static bool	StreamWhiteSpace( std::istream * in, TIXML_STRING * tag );	static bool StreamTo( std::istream * in, int character, TIXML_STRING * tag );	#endif	/*	Reads an XML name into the string provided. Returns		a pointer just past the last character of the name,		or 0 if the function has an error.	*/	static const char* ReadName( const char* p, TIXML_STRING* name, TiXmlEncoding encoding );	/*	Reads text. Returns a pointer past the given end tag.		Wickedly complex options, but it keeps the (sensitive) code in one place.	*/	static const char* ReadText(	const char* in,				// where to start									TIXML_STRING* text,			// the string read									bool ignoreWhiteSpace,		// whether to keep the white space									const char* endTag,			// what ends this text									bool ignoreCase,			// whether to ignore case in the end tag									TiXmlEncoding encoding );	// the current encoding	// If an entity has been found, transform it into a character.	static const char* GetEntity( const char* in, char* value, int* length, TiXmlEncoding encoding );	// Get a character, while interpreting entities.	// The length can be from 0 to 4 bytes.	inline static const char* GetChar( const char* p, char* _value, int* length, TiXmlEncoding encoding )	{		assert( p );		if ( encoding == TIXML_ENCODING_UTF8 )		{			*length = utf8ByteTable[ *((const unsigned char*)p) ];			assert( *length >= 0 && *length < 5 );		}		else		{			*length = 1;		}		if ( *length == 1 )		{			if ( *p == '&' )				return GetEntity( p, _value, length, encoding );			*_value = *p;			return p+1;		}		else if ( *length )		{			//strncpy( _value, p, *length );	// lots of compilers don't like this function (unsafe),												// and the null terminator isn't needed			for( int i=0; p[i] && i<*length; ++i ) {				_value[i] = p[i];			}			return p + (*length);		}		else		{			// Not valid text.			return 0;		}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲三级视频在线观看| 欧美成va人片在线观看| 欧美色综合天天久久综合精品| 欧美日韩三级在线| 久久亚洲二区三区| 亚洲日本免费电影| 毛片不卡一区二区| 91亚洲国产成人精品一区二区三| 欧美日韩国产综合一区二区 | 人人精品人人爱| 国产成人午夜片在线观看高清观看| 99久久婷婷国产综合精品| 337p亚洲精品色噜噜| 国产精品―色哟哟| 日韩电影在线一区| 99精品黄色片免费大全| 日韩午夜精品电影| 亚洲精品水蜜桃| 黄页网站大全一区二区| 欧美天堂亚洲电影院在线播放| 精品国产精品一区二区夜夜嗨| 亚洲精品成人少妇| 国产剧情一区二区三区| 欧美日韩精品免费观看视频| 欧美精彩视频一区二区三区| 日韩精品欧美精品| 91小宝寻花一区二区三区| 日韩免费在线观看| 洋洋av久久久久久久一区| 国产精选一区二区三区| 911精品产国品一二三产区| 国产精品成人在线观看| 加勒比av一区二区| 欧美区在线观看| 亚洲色图清纯唯美| 国产福利一区二区三区| 欧美不卡激情三级在线观看| 亚洲国产另类精品专区| 99视频在线精品| 久久久亚洲午夜电影| 免费亚洲电影在线| 在线不卡中文字幕播放| 亚洲精品一二三区| 成人高清伦理免费影院在线观看| 日韩精品一区二区三区中文不卡 | 欧美性猛交一区二区三区精品| 欧美激情一区二区三区不卡| 精品一区二区三区不卡| 欧美高清视频在线高清观看mv色露露十八 | 国产精品超碰97尤物18| 韩国女主播成人在线| 日韩午夜电影在线观看| 亚洲成va人在线观看| 色狠狠桃花综合| 亚洲日本成人在线观看| 波多野结衣欧美| 久久精品视频一区二区三区| 蜜桃久久久久久| 欧美一个色资源| 日韩av不卡一区二区| 在线观看欧美黄色| 一区二区三区四区不卡视频 | 亚洲香蕉伊在人在线观| 日本精品免费观看高清观看| 亚洲婷婷在线视频| 99久久精品免费看国产| 国产精品成人网| 91蝌蚪porny九色| 日韩毛片高清在线播放| 99久久99久久综合| 亚洲欧美一区二区三区久本道91| eeuss国产一区二区三区| 中文字幕欧美一| 一本久道中文字幕精品亚洲嫩| 亚洲男人天堂一区| 在线视频亚洲一区| 亚洲成人在线观看视频| 538prom精品视频线放| 理论片日本一区| 久久奇米777| 成人免费看片app下载| 国产精品久久久久aaaa樱花 | 午夜在线成人av| 在线播放中文一区| 久久不见久久见中文字幕免费| 精品久久久久一区二区国产| 国产精品综合久久| 亚洲欧美在线视频| 91福利国产精品| 偷拍日韩校园综合在线| 欧美成人video| 国产成人99久久亚洲综合精品| 最好看的中文字幕久久| 欧美日韩精品免费| 极品少妇xxxx偷拍精品少妇| 国产视频一区不卡| 91一区一区三区| 午夜精品久久久久久久久久| 欧美一区永久视频免费观看| 久久99精品视频| 中文字幕高清一区| 欧美三级韩国三级日本三斤 | 国产欧美综合在线| 91蝌蚪国产九色| 裸体一区二区三区| 国产精品色婷婷| 欧美日韩精品免费| 国产91对白在线观看九色| 亚洲乱码日产精品bd| 欧美一卡2卡3卡4卡| 国产成人综合网| 国产一区二区不卡| 中文字幕中文字幕一区| 欧美久久久久久蜜桃| 国产精品18久久久久久久久 | 欧美日本乱大交xxxxx| 国产一区欧美一区| 亚洲精品成人a在线观看| 日韩精品一区二区三区在线观看 | 一区二区三区免费看视频| 日韩精品影音先锋| 色偷偷一区二区三区| 精品一区二区日韩| 亚洲欧美精品午睡沙发| 欧美mv日韩mv国产| 91国产福利在线| 国产福利一区二区三区视频| 首页综合国产亚洲丝袜| 国产欧美一区二区三区在线老狼 | 久草热8精品视频在线观看| 亚洲欧美偷拍三级| 精品国产欧美一区二区| 色综合久久综合| 国产麻豆精品视频| 五月天激情综合| 亚洲欧美综合网| 久久综合九色综合97婷婷女人 | 午夜精品久久久久久久| 国产精品美女一区二区在线观看| 日韩欧美中文一区二区| 在线免费观看一区| 国产一区二区三区精品视频| 午夜精品福利在线| 亚洲欧美色综合| 国产欧美一二三区| 日韩免费性生活视频播放| 欧美这里有精品| 99re视频这里只有精品| 国产一区欧美一区| 麻豆一区二区三区| 亚洲二区在线视频| 亚洲精品免费电影| 国产精品久久久久久久久免费樱桃| 精品日韩99亚洲| 91精品国产乱| 欧美日韩国产一二三| 91在线免费看| 成a人片亚洲日本久久| 国内精品视频666| 奇米亚洲午夜久久精品| 亚洲成a人v欧美综合天堂下载| 亚洲婷婷综合色高清在线| 中文字幕欧美激情| 国产亚洲制服色| 精品国产91久久久久久久妲己| 日韩一二三区不卡| 在线播放国产精品二区一二区四区| 色屁屁一区二区| 色综合久久久久| 色哟哟一区二区在线观看| 99在线热播精品免费| av资源站一区| 9色porny自拍视频一区二区| 国产91富婆露脸刺激对白| 丁香婷婷综合激情五月色| 国产精品一区二区三区网站| 国产一区美女在线| 国产一区二区精品久久| 国产激情视频一区二区在线观看 | 亚洲欧美一区二区在线观看| 国产欧美日韩在线视频| 久久精品一区二区三区四区| 国产亚洲欧美中文| 国产精品网友自拍| 亚洲欧美自拍偷拍| 樱花影视一区二区| 亚洲午夜精品17c| 日韩二区在线观看| 麻豆成人91精品二区三区| 久久99精品久久久久久国产越南| 看片网站欧美日韩| 国产精品一二三四五| 岛国av在线一区| 色综合色狠狠天天综合色| 91色视频在线| 欧美日韩精品欧美日韩精品一| 91精品国产综合久久久久久漫画 | 国产精品影视网| 成人高清免费观看| 在线免费观看一区|