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

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

?? tinyxmla.h

?? 文字編輯器源碼 Text editor source code
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/*www.sourceforge.net/projects/tinyxmlOriginal code (2.0 and earlier )copyright (c) 2000-2002 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 TINYXMLA_INCLUDED#define TINYXMLA_INCLUDED#ifdef _MSC_VER#pragma warning( disable : 4530 )#pragma warning( disable : 4786 )#endif#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <windows.h>#include "Common.h"// Help out windows:#if defined( _DEBUG ) && !defined( DEBUG )#define DEBUG#endif#if defined( DEBUG ) && defined( _MSC_VER )#include <windows.h>#define TIXMLA_LOG OutputDebugString#else#define TIXMLA_LOG printf#endif#ifdef TIXMLA_USE_STL	#include <string> 	#include <iostream>    //#include <ostream>	#define TIXMLA_STRING	std::string	#define TIXMLA_ISTREAM	std::istream	#define TIXMLA_OSTREAM	std::ostream#else	#include "tinystrA.h"	#define TIXMLA_STRING	TiXmlStringA	#define TIXMLA_OSTREAM	TiXmlOutStreamA#endifclass TiXmlDocumentA;class TiXmlElementA;class TiXmlCommentA;class TiXmlUnknownA;class TiXmlAttributeA;class TiXmlTextA;class TiXmlDeclarationA;class TiXmlParsingDataA;/*	Internal structure for tracking location of items 	in the XML file.*/struct TiXmlCursorA{	TiXmlCursorA()		{ Clear(); }	void Clear()		{ row = col = -1; }	int row;	// 0 based.	int col;	// 0 based.};// Only used by Attribute::Query functionsenum { 	TIXMLA_SUCCESS,	TIXMLA_NO_ATTRIBUTE,	TIXMLA_WRONG_TYPE};/** TiXmlBaseA 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 TiXmlBaseA{	friend class TiXmlNodeA;	friend class TiXmlElementA;	friend class TiXmlDocumentA;public:	TiXmlBaseA()								{}	virtual ~TiXmlBaseA()					{}	/**	All TinyXml classes can print themselves to a filestream.		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		values 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 TiXmlDocumentA::Load(),		TiXmlDocumentA::LoadFile(), or any TiXmlNodeA::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 TiXmlDocumentA::SetTabSize() is called with 0 as the value.		@sa TiXmlDocumentA::SetTabSize()	*/	int Row() const			{ return location.row + 1; }	int Column() const		{ return location.col + 1; }	///< See Row()protected:	// See STL_STRING_BUG	// Utility class to overcome a bug.	class StringToBuffer	{	  public:		StringToBuffer( const TIXMLA_STRING& str );		~StringToBuffer();		char* buffer;	};	static const char*	SkipWhiteSpace( const char* );	inline static bool	IsWhiteSpace( int c )		{ return ( isspace( c ) || c == '\n' || c == '\r' ); }	virtual void StreamOut (TIXMLA_OSTREAM *) const = 0;	#ifdef TIXMLA_USE_STL	    static bool	StreamWhiteSpace( TIXMLA_ISTREAM * in, TIXMLA_STRING * tag );	    static bool StreamTo( TIXMLA_ISTREAM * in, int character, TIXMLA_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, TIXMLA_STRING* name );	/*	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									TIXMLA_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	virtual const char* Parse( const char* p, TiXmlParsingDataA* data ) = 0;	// If an entity has been found, transform it into a character.	static const char* GetEntity( const char* in, char* value );	// Get a character, while interpreting entities.	inline static const char* GetChar( const char* p, char* _value )	{		assert( p );		if ( *p == '&' )		{			return GetEntity( p, _value );		}		else		{			*_value = *p;			return p+1;		}	}	// Puts a string to a stream, expanding entities as it goes.	// Note this should not contian the '<', '>', etc, or they will be transformed into entities!	static void PutString( const TIXMLA_STRING& str, TIXMLA_OSTREAM* out );	static void PutString( const TIXMLA_STRING& str, TIXMLA_STRING* out );	// Return true if the next characters in the stream are any of the endTag sequences.	static bool StringEqual(	const char* p,								const char* endTag,								bool ignoreCase );	enum	{		TIXMLA_NO_ERROR = 0,		TIXMLA_ERROR,		TIXMLA_ERROR_OPENING_FILE,		TIXMLA_ERROR_OUT_OF_MEMORY,		TIXMLA_ERROR_PARSING_ELEMENT,		TIXMLA_ERROR_FAILED_TO_READ_ELEMENT_NAME,		TIXMLA_ERROR_READING_ELEMENT_VALUE,		TIXMLA_ERROR_READING_ATTRIBUTES,		TIXMLA_ERROR_PARSING_EMPTY,		TIXMLA_ERROR_READING_END_TAG,		TIXMLA_ERROR_PARSING_UNKNOWN,		TIXMLA_ERROR_PARSING_COMMENT,		TIXMLA_ERROR_PARSING_DECLARATION,		TIXMLA_ERROR_DOCUMENT_EMPTY,		TIXMLA_ERROR_STRING_COUNT	};	static const char* errorString[ TIXMLA_ERROR_STRING_COUNT ];	TiXmlCursorA location;private:	struct Entity	{		const char*     str;		unsigned int	strLength;		char		    chr;	};	enum	{		NUM_ENTITY = 5,		MAX_ENTITY_LENGTH = 6	};	static Entity entity[ NUM_ENTITY ];	static bool condenseWhiteSpace;};/** The parent class for everything in the Document Object Model.	(Except for attributes).	Nodes have siblings, a parent, and children. A node can be	in a document, or stand on its own. The type of a TiXmlNodeA	can be queried, and it can be cast to its more defined type.*/class TiXmlNodeA : public TiXmlBaseA{	friend class TiXmlDocumentA;	friend class TiXmlElementA;public:	#ifdef TIXMLA_USE_STL		    /** An input stream operator, for every class. Tolerant of newlines and		    formatting, but doesn't expect them.	    */	    friend std::istream& operator >> (std::istream& in, TiXmlNodeA& base);	    /** An output stream operator, for every class. Note that this outputs		    without any newlines or formatting, as opposed to Print(), which		    includes tabs and new lines.		    The operator<< and operator>> are not completely symmetric. Writing		    a node to a stream is very well defined. You'll get a nice stream		    of output, without any extra whitespace or newlines.		    		    But reading is not as well defined. (As it always is.) If you create		    a TiXmlElementA (for example) and read that from an input stream,		    the text needs to define an element or junk will result. This is		    true of all input streams, but it's worth keeping in mind.		    A TiXmlDocumentA will read nodes until it reads a root element, and			all the children of that root element.	    */		    friend std::ostream& operator<< (std::ostream& out, const TiXmlNodeA& base);		/// Appends the XML node or attribute to a std::string.		friend std::string& operator<< (std::string& out, const TiXmlNodeA& base );	#else	    // Used internally, not part of the public API.	    friend TIXMLA_OSTREAM& operator<< (TIXMLA_OSTREAM& out, const TiXmlNodeA& base);	#endif	/** The types of XML nodes supported by TinyXml. (All the			unsupported types are picked up by UNKNOWN.)	*/	enum NodeType	{		DOCUMENT,		ELEMENT,		COMMENT,		UNKNOWN,		TEXT,		DECLARATION,		TYPECOUNT	};	virtual ~TiXmlNodeA();	/** The meaning of 'value' changes for the specific type of		TiXmlNodeA.		@verbatim		Document:	filename of the xml file		Element:	name of the element		Comment:	the comment text		Unknown:	the tag contents		Text:		the text string		@endverbatim		The subclasses will wrap this function.	*/	const char * Value() const { return value.c_str (); }	/** Changes the value of the node. Defined as:		@verbatim		Document:	filename of the xml file		Element:	name of the element		Comment:	the comment text		Unknown:	the tag contents		Text:		the text string		@endverbatim	*/	void SetValue(const char * _value) { value = _value;}    #ifdef TIXMLA_USE_STL	/// STL std::string form.	void SetValue( const std::string& _value )    	{	  		StringToBuffer buf( _value );		SetValue( buf.buffer ? buf.buffer : "" );    		}		#endif	/// Delete all the children of this node. Does not affect 'this'.	void Clear();	/// One step up the DOM.	TiXmlNodeA* Parent() const					{ return parent; }	TiXmlNodeA* FirstChild()	const	{ return firstChild; }		///< The first child of this node. Will be null if there are no children.	TiXmlNodeA* FirstChild( const char * value ) const;			///< The first child of this node with the matching 'value'. Will be null if none found.	TiXmlNodeA* LastChild() const	{ return lastChild; }		/// The last child of this node. Will be null if there are no children.	TiXmlNodeA* LastChild( const char * value ) const;			/// The last child of this node matching 'value'. Will be null if there are no children.    #ifdef TIXMLA_USE_STL	TiXmlNodeA* FirstChild( const std::string& _value ) const	{	return FirstChild (_value.c_str ());	}	///< STL std::string form.	TiXmlNodeA* LastChild( const std::string& _value ) const		{	return LastChild (_value.c_str ());	}	///< STL std::string form.	#endif	/** An alternate way to walk the children of a node.		One way to iterate over nodes is:		@verbatim			for( child = parent->FirstChild(); child; child = child->NextSibling() )		@endverbatim		IterateChildren does the same thing with the syntax:		@verbatim			child = 0;			while( child = parent->IterateChildren( child ) )		@endverbatim		IterateChildren takes the previous child as input and finds		the next one. If the previous child is null, it returns the		first. IterateChildren will return null when done.	*/	TiXmlNodeA* IterateChildren( TiXmlNodeA* previous ) const;	/// This flavor of IterateChildren searches for children with a particular 'value'	TiXmlNodeA* IterateChildren( const char * value, TiXmlNodeA* previous ) const;    #ifdef TIXMLA_USE_STL	TiXmlNodeA* IterateChildren( const std::string& _value, TiXmlNodeA* previous ) const	{	return IterateChildren (_value.c_str (), previous);	}	///< STL std::string form.	#endif	/** Add a new node related to this. Adds a child past the LastChild.		Returns a pointer to the new object or NULL if an error occured.	*/	TiXmlNodeA* InsertEndChild( const TiXmlNodeA& addThis );	/** Add a new node related to this. Adds a child past the LastChild.

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区精品视频在线| 国产精品天干天干在线综合| 免费欧美日韩国产三级电影| 欧美一区二区成人| 国产在线日韩欧美| 国产欧美精品一区二区三区四区 | 日韩女优制服丝袜电影| 男女男精品视频网| 国产色爱av资源综合区| www.视频一区| 性做久久久久久| 精品少妇一区二区三区在线播放 | 精品88久久久久88久久久| 国产在线精品免费av| 中文字幕制服丝袜一区二区三区 | 在线播放国产精品二区一二区四区 | 青青草原综合久久大伊人精品 | 欧美日本在线一区| 国产伦精品一区二区三区免费迷 | 国产精品69毛片高清亚洲| 18成人在线视频| 在线综合+亚洲+欧美中文字幕| 国产麻豆精品在线观看| 一区二区三区日韩| 久久蜜臀中文字幕| 91国产丝袜在线播放| 久久国产精品第一页| 一区二区三区在线看| 精品区一区二区| 日本电影欧美片| 国产精品自产自拍| 五月天欧美精品| 国产精品毛片久久久久久久| 91精品在线免费| 色综合夜色一区| 国产成人无遮挡在线视频| 亚洲丶国产丶欧美一区二区三区| 国产亚洲制服色| 欧美高清你懂得| 91浏览器在线视频| 国产一区二区三区精品欧美日韩一区二区三区 | 久草精品在线观看| 亚洲与欧洲av电影| 国产精品视频yy9299一区| 日韩精品中文字幕一区二区三区| 91女神在线视频| 国产东北露脸精品视频| 热久久国产精品| 亚洲一区二区欧美激情| 国产精品入口麻豆原神| 久久这里都是精品| 日韩亚洲欧美在线| 欧美三级视频在线播放| 91小视频免费看| 成人免费电影视频| 国产乱码精品一区二区三区五月婷| 视频一区在线播放| 亚洲午夜国产一区99re久久| 亚洲青青青在线视频| 亚洲国产精品v| 国产午夜精品久久久久久免费视| 日韩一区二区在线观看| 91精品国产麻豆国产自产在线| 在线观看视频91| 欧美在线你懂的| 色爱区综合激月婷婷| 99国产精品99久久久久久| 成人a区在线观看| 国产盗摄视频一区二区三区| 国产精品一区二区在线观看网站| 精品一区二区免费在线观看| 日本不卡一区二区三区| 日韩黄色片在线观看| 五月激情综合色| 婷婷久久综合九色综合伊人色| 亚洲一区二区黄色| 偷窥国产亚洲免费视频| 奇米在线7777在线精品| 麻豆91在线播放| 国产一区二区三区高清播放| 国产成人免费在线视频| 成人高清在线视频| 92国产精品观看| 在线日韩av片| 欧美一区二区视频在线观看2022| 91精品免费观看| 2021久久国产精品不只是精品| 欧美精品一区男女天堂| 欧美激情自拍偷拍| 亚洲乱码国产乱码精品精小说| 亚洲一区二区三区四区五区中文 | 久久99精品久久久久婷婷| 国模大尺度一区二区三区| 国产电影精品久久禁18| 91麻豆免费视频| 777久久久精品| 精品嫩草影院久久| 国产精品的网站| 亚洲国产一区二区视频| 蜜桃av一区二区| 成人永久aaa| 欧美艳星brazzers| 精品国产第一区二区三区观看体验| 中文字幕不卡在线观看| 亚洲一区二区视频在线| 韩国欧美国产1区| 成人午夜激情片| 欧美日韩国产天堂| 中文字幕第一区二区| 亚洲综合成人在线| 国产在线不卡视频| 91成人在线观看喷潮| 亚洲精品一区在线观看| 亚洲欧美另类图片小说| 老色鬼精品视频在线观看播放| 亚洲国产综合在线| 久久中文娱乐网| 亚洲欧美中日韩| 亚洲一区在线观看视频| 黄色日韩三级电影| 在线视频欧美区| 久久久久久电影| 午夜精品福利久久久| caoporn国产精品| 日韩欧美在线123| 亚洲乱码国产乱码精品精的特点| 老司机免费视频一区二区三区| 色综合久久99| 亚洲国产精品成人综合色在线婷婷| 天天综合色天天| 97国产一区二区| 2024国产精品视频| 日韩和欧美一区二区| 在线免费观看日本欧美| 久久精品一区二区三区四区| 亚洲电影激情视频网站| 99国产精品久| 中文字幕av一区 二区| 99精品欧美一区二区蜜桃免费| 91麻豆视频网站| 国产欧美综合色| 麻豆视频观看网址久久| 欧美老人xxxx18| 一区二区欧美精品| av亚洲产国偷v产偷v自拍| 久久影院午夜片一区| 日本91福利区| 欧美日本一区二区在线观看| 亚洲裸体xxx| eeuss鲁片一区二区三区在线观看| 久久美女艺术照精彩视频福利播放| 日韩国产欧美在线播放| 欧美日韩一区二区三区四区五区| 日韩毛片高清在线播放| 懂色av中文字幕一区二区三区| 亚洲精品在线观| 精品写真视频在线观看| 日韩视频永久免费| 精品一区二区三区在线播放视频| 69堂成人精品免费视频| 丝袜美腿亚洲一区| 欧美军同video69gay| 天堂va蜜桃一区二区三区 | 欧美在线观看一区| 亚洲综合清纯丝袜自拍| 欧美性色黄大片| 亚洲国产aⅴ天堂久久| 欧美日韩在线播| 偷拍亚洲欧洲综合| 日韩视频免费直播| 国产综合色在线| 久久久精品tv| 成人一区二区三区中文字幕| 国产精品福利一区二区| 91国产福利在线| 日韩精品一二三四| 精品久久久久久久久久久久久久久 | 日本人妖一区二区| 精品国产亚洲一区二区三区在线观看| 久久电影网站中文字幕| 久久精品无码一区二区三区| 成人动漫av在线| 一区二区三区欧美激情| 欧美久久久久免费| 激情六月婷婷久久| 中文字幕中文字幕一区| 欧美视频精品在线| 精彩视频一区二区| 国产精品视频线看| 欧美午夜精品一区二区蜜桃 | 天天做天天摸天天爽国产一区| 欧美一级电影网站| 粉嫩av一区二区三区粉嫩| 亚洲美女少妇撒尿| 日韩欧美国产精品| 成人午夜精品一区二区三区| 一区二区三区免费在线观看| 91精品福利在线一区二区三区 | 亚洲成人免费电影| 日韩精品一区二区三区swag |