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

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

?? tinyxml.h

?? 聯(lián)通的短信網(wǎng)關(guān)平臺(tái)。 sp 使用。 如果想自己用vc 開發(fā)短信業(yè)務(wù)
?? H
?? 第 1 頁 / 共 3 頁
字號(hào):
/*
www.sourceforge.net/projects/tinyxml
Original code (2.0 and earlier )copyright (c) 2000-2002 Lee Thomason (www.grinninglizard.com)

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.

Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and
redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must
not claim that you wrote the original software. If you use this
software in a product, an acknowledgment in the product documentation
would be appreciated but is not required.

2. Altered source versions must be plainly marked as such, and
must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any source
distribution.
*/


#ifndef TINYXML_INCLUDED
#define TINYXML_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>

// Help out windows:
#if defined( _DEBUG ) && !defined( DEBUG )
#define DEBUG
#endif

#if defined( DEBUG ) && defined( _MSC_VER )
#include <windows.h>
#define TIXML_LOG OutputDebugString
#else
#define TIXML_LOG printf
#endif

#define TIXML_USE_STL

#ifdef TIXML_USE_STL
	#include <string>
	#define TIXML_STRING	std::string
	#define TIXML_ISTREAM	std::istream
	#define TIXML_OSTREAM	std::ostream
#else
	#include "tinystr.h"
	#define TIXML_STRING	TiXmlString
	#define TIXML_OSTREAM	TiXmlOutStream
#endif

class TiXmlDocument;
class TiXmlElement;
class TiXmlComment;
class TiXmlUnknown;
class TiXmlAttribute;
class TiXmlText;
class TiXmlDeclaration;


/** 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()								{}
	virtual ~TiXmlBase()					{}

	/**	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 these
		values is not thread safe.
	*/
	static void SetCondenseWhiteSpace( bool condense )		{ condenseWhiteSpace = condense; }

	/// Return the current white space setting.
	static bool IsWhiteSpaceCondensed()						{ return condenseWhiteSpace; }

protected:
	// See STL_STRING_BUG
	// Utility class to overcome a bug.
	class StringToBuffer
	{
	  public:
		StringToBuffer( const TIXML_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 (TIXML_OSTREAM *) const = 0;

	#ifdef TIXML_USE_STL
	    static bool	StreamWhiteSpace( TIXML_ISTREAM * in, TIXML_STRING * tag );
	    static bool StreamTo( TIXML_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 );

	/*	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
	virtual const char* Parse( const char* p ) = 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 TIXML_STRING& str, TIXML_OSTREAM* out );

	static void PutString( const TIXML_STRING& str, TIXML_STRING* out );

	// Return true if the next characters in the stream are any of the endTag sequences.
	bool static StringEqual(	const char* p,
								const char* endTag,
								bool ignoreCase );


	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_STRING_COUNT
	};
	static const char* errorString[ TIXML_ERROR_STRING_COUNT ];

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, which are contained in elements.)
	Nodes have siblings, a parent, and children. A node can be
	in a document, or stand on its own. The type of a TiXmlNode
	can be queried, and it can be cast to its more defined type.
*/
class TiXmlNode : public TiXmlBase
{
	friend class TiXmlDocument;
	friend class TiXmlElement;

public:
	#ifdef TIXML_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, TiXmlNode& 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 TiXmlElement (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 TiXmlDocument will read nodes until it reads a root element.
	    */	
	    friend std::ostream & operator<< (std::ostream& out, const TiXmlNode& base);

	#else
	    // Used internally, not part of the public API.
	    friend TIXML_OSTREAM& operator<< (TIXML_OSTREAM& out, const TiXmlNode& 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 ~TiXmlNode();

	/** The meaning of 'value' changes for the specific type of
		TiXmlNode.
		@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 TIXML_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.
	TiXmlNode* Parent() const					{ return parent; }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品少妇一区二区三区在线视频 | 中文av一区二区| 天堂蜜桃一区二区三区| 色综合一区二区| 欧美激情综合在线| 亚洲香肠在线观看| 欧美亚洲另类激情小说| 亚洲另类春色校园小说| 色婷婷亚洲精品| 亚洲欧美电影一区二区| 成人福利视频在线| 国产精品二三区| 91猫先生在线| 亚洲一二三级电影| 欧美日韩aaa| 寂寞少妇一区二区三区| 欧美日韩国产综合一区二区三区 | 欧美日韩高清一区二区三区| 亚洲资源中文字幕| 欧美绝品在线观看成人午夜影视| 亚洲激情在线激情| 色综合久久久久网| 青草av.久久免费一区| 精品国产乱码久久久久久夜甘婷婷| 国产九色sp调教91| 一区二区三区资源| 精品国产麻豆免费人成网站| av一区二区三区四区| 午夜视频在线观看一区二区 | 五月婷婷久久综合| 国产日产精品1区| 在线视频一区二区三| 亚洲一区二区不卡免费| 久久综合av免费| 欧美一a一片一级一片| 精品在线免费观看| 国产精品女主播在线观看| 欧美三级日韩在线| 国产v日产∨综合v精品视频| 午夜精品福利视频网站| 国产精品少妇自拍| 欧美一级理论性理论a| 在线影院国内精品| 成人av在线电影| 国产乱码精品一区二区三区忘忧草 | 一区二区三区精品在线| 久久免费美女视频| 91精品欧美久久久久久动漫| 一本一道久久a久久精品| 国产一区二区福利| 精品亚洲成a人在线观看| 亚洲激情五月婷婷| 极品尤物av久久免费看| 蜜臀国产一区二区三区在线播放| 国产精品天美传媒| 国产欧美一区在线| 欧美国产一区二区在线观看| 国产无一区二区| 中文字幕av在线一区二区三区| 一区二区三区在线免费观看 | 天天色图综合网| 免费在线视频一区| 免费高清视频精品| 久久99热这里只有精品| 精品一区二区三区免费| 精品无人区卡一卡二卡三乱码免费卡| 蜜桃一区二区三区在线观看| 裸体一区二区三区| 国产xxx精品视频大全| 成人av网站大全| 在线观看av不卡| 欧美国产精品一区二区三区| 亚洲在线免费播放| 国产成人综合网| 日韩欧美一级在线播放| 亚洲欧美日韩国产另类专区| 久久精工是国产品牌吗| 欧美日韩激情在线| 亚洲三级在线免费观看| 国产一区二区不卡| 91精品国产入口在线| 亚洲你懂的在线视频| 成人高清视频在线| 国产婷婷一区二区| 麻豆精品久久精品色综合| 色94色欧美sute亚洲线路二| 国产精品伦理在线| 国产在线日韩欧美| 欧美videos大乳护士334| 日日夜夜一区二区| 欧美综合一区二区三区| 艳妇臀荡乳欲伦亚洲一区| 91网站黄www| 一区二区三区在线观看动漫| av午夜一区麻豆| 中文字幕一区二区三区不卡在线| 国产在线观看一区二区| 欧美一二三在线| 美美哒免费高清在线观看视频一区二区 | 日韩女优制服丝袜电影| 青青草97国产精品免费观看| 欧美一区二区日韩一区二区| 免费成人美女在线观看.| 久久影院午夜片一区| 国产成人av一区二区三区在线观看| 久久久综合视频| www.性欧美| 亚洲chinese男男1069| 3d动漫精品啪啪一区二区竹菊| 日本亚洲免费观看| 中文字幕亚洲不卡| 精品视频1区2区3区| 久久99久久久久| 最新不卡av在线| 欧美日韩你懂得| 国产东北露脸精品视频| 一区二区三区在线影院| 欧美va亚洲va香蕉在线 | 亚洲午夜视频在线观看| 精品欧美一区二区久久 | 粉嫩欧美一区二区三区高清影视| 亚洲美女免费视频| 精品少妇一区二区三区免费观看| 成人av网在线| 日本不卡123| 亚洲欧美日韩国产综合在线| 欧美一级日韩免费不卡| 色欲综合视频天天天| 国产精品888| 奇米亚洲午夜久久精品| 一区二区三区四区视频精品免费 | 日韩理论在线观看| 五月天中文字幕一区二区| 亚洲国产精品成人综合| 欧美白人最猛性xxxxx69交| 欧美在线观看18| www国产精品av| 精品国产99国产精品| 欧美日韩电影一区| 欧美亚洲动漫精品| 在线日韩av片| 欧洲亚洲国产日韩| 92国产精品观看| 在线欧美日韩精品| 在线欧美小视频| 欧美日韩国产成人在线免费| 欧美日韩免费一区二区三区 | 国模一区二区三区白浆| 国产精品自产自拍| 国产福利精品一区| 狠狠色丁香久久婷婷综合_中| 强制捆绑调教一区二区| 国产成人夜色高潮福利影视| 风间由美一区二区av101| 成人a免费在线看| 91在线视频官网| 欧美猛男gaygay网站| 日韩欧美中文字幕精品| 久久嫩草精品久久久精品| 中文字幕视频一区| 水蜜桃久久夜色精品一区的特点| 久久er99精品| 色94色欧美sute亚洲线路二| 欧美一三区三区四区免费在线看| 日韩欧美成人激情| 国产精品视频线看| 日一区二区三区| 99久久久久免费精品国产| 91精品在线观看入口| 日本一区二区动态图| 亚洲第一二三四区| 成人av动漫网站| 欧美mv日韩mv| 午夜精品成人在线视频| 成人黄色777网| 久久亚洲二区三区| 午夜欧美视频在线观看| 波多野洁衣一区| 欧美精品一区二区在线观看| 午夜视频久久久久久| 9i看片成人免费高清| 26uuu亚洲综合色欧美 | 亚洲成人精品一区| 97久久人人超碰| 国产精品国产三级国产有无不卡 | 色呦呦国产精品| 中文字幕一区二区在线播放 | 亚洲精品美腿丝袜| 99精品欧美一区二区蜜桃免费| 久久久久久9999| 国内精品第一页| 国产人妖乱国产精品人妖| 极品销魂美女一区二区三区| 精品噜噜噜噜久久久久久久久试看| 亚洲一区av在线| 99国产精品国产精品毛片| 悠悠色在线精品| 欧美精品日韩一本| 麻豆传媒一区二区三区| 欧美成人video|