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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tinystr.h

?? wince設置MUTE,設置設備靜音的代碼CE下。
?? H
字號:
/*www.sourceforge.net/projects/tinyxmlOriginal file by Yves Berquin.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.*//* * THIS FILE WAS ALTERED BY Tyge Lovset, 7. April 2005. * * - completely rewritten. compact, clean, and fast implementation. * - sizeof(TiXmlString) = pointer size (4 bytes on 32-bit systems) * - fixed reserve() to work as per specification. * - fixed buggy compares operator==(), operator<(), and operator>() * - fixed operator+=() to take a const ref argument, following spec. * - added "copy" constructor with length, and most compare operators. * - added swap(), clear(), size(), capacity(), operator+(). */#ifndef TIXML_USE_STL#ifndef TIXML_STRING_INCLUDED#define TIXML_STRING_INCLUDED#include <assert.h>#include <string.h>/*	The support for explicit isn't that universal, and it isn't really	required - it is used to check that the TiXmlString class isn't incorrectly	used. Be nice to old compilers and macro it here:*/#if defined(_MSC_VER) && (_MSC_VER >= 1200 )	// Microsoft visual studio, version 6 and higher.	#define TIXML_EXPLICIT explicit#elif defined(__GNUC__) && (__GNUC__ >= 3 )	// GCC version 3 and higher.s	#define TIXML_EXPLICIT explicit#else	#define TIXML_EXPLICIT#endif/*   TiXmlString is an emulation of a subset of the std::string template.   Its purpose is to allow compiling TinyXML on compilers with no or poor STL support.   Only the member functions relevant to the TinyXML project have been implemented.   The buffer allocation is made by a simplistic power of 2 like mechanism : if we increase   a string and there's no more room, we allocate a buffer twice as big as we need.*/class TiXmlString{  public :	// The size type used  	typedef size_t size_type;	// Error value for find primitive	static const size_type npos; // = -1;	// TiXmlString empty constructor	TiXmlString () : rep_(&nullrep_)	{	}	// TiXmlString copy constructor	TiXmlString ( const TiXmlString & copy) : rep_(0)	{		init(copy.length());		memcpy(start(), copy.data(), length());	}	// TiXmlString constructor, based on a string	TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(0)	{		init( static_cast<size_type>( strlen(copy) ));		memcpy(start(), copy, length());	}	// TiXmlString constructor, based on a string	TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0)	{		init(len);		memcpy(start(), str, len);	}	// TiXmlString destructor	~TiXmlString ()	{		quit();	}	// = operator	TiXmlString& operator = (const char * copy)	{		return assign( copy, (size_type)strlen(copy));	}	// = operator	TiXmlString& operator = (const TiXmlString & copy)	{		return assign(copy.start(), copy.length());	}	// += operator. Maps to append	TiXmlString& operator += (const char * suffix)	{		return append(suffix, static_cast<size_type>( strlen(suffix) ));	}	// += operator. Maps to append	TiXmlString& operator += (char single)	{		return append(&single, 1);	}	// += operator. Maps to append	TiXmlString& operator += (const TiXmlString & suffix)	{		return append(suffix.data(), suffix.length());	}	// Convert a TiXmlString into a null-terminated char *	const char * c_str () const { return rep_->str; }	// Convert a TiXmlString into a char * (need not be null terminated).	const char * data () const { return rep_->str; }	// Return the length of a TiXmlString	size_type length () const { return rep_->size; }	// Alias for length()	size_type size () const { return rep_->size; }	// Checks if a TiXmlString is empty	bool empty () const { return rep_->size == 0; }	// Return capacity of string	size_type capacity () const { return rep_->capacity; }	// single char extraction	const char& at (size_type index) const	{		assert( index < length() );		return rep_->str[ index ];	}	// [] operator	char& operator [] (size_type index) const	{		assert( index < length() );		return rep_->str[ index ];	}	// find a char in a string. Return TiXmlString::npos if not found	size_type find (char lookup) const	{		return find(lookup, 0);	}	// find a char in a string from an offset. Return TiXmlString::npos if not found	size_type find (char tofind, size_type offset) const	{		if (offset >= length()) return npos;		for (const char* p = c_str() + offset; *p != '\0'; ++p)		{		   if (*p == tofind) return static_cast< size_type >( p - c_str() );		}		return npos;	}	void clear ()	{		//Lee:		//The original was just too strange, though correct:		//	TiXmlString().swap(*this);		//Instead use the quit & re-init:		quit();		init(0,0);	}	/*	Function to reserve a big amount of data when we know we'll need it. Be aware that this		function DOES NOT clear the content of the TiXmlString if any exists.	*/	void reserve (size_type cap);	TiXmlString& assign (const char* str, size_type len);	TiXmlString& append (const char* str, size_type len);	void swap (TiXmlString& other)	{		Rep* r = rep_;		rep_ = other.rep_;		other.rep_ = r;	}  private:	void init(size_type sz) { init(sz, sz); }	void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; }	char* start() const { return rep_->str; }	char* finish() const { return rep_->str + rep_->size; }	struct Rep	{		size_type size, capacity;		char str[1];	};	void init(size_type sz, size_type cap)	{		if (cap)		{			// Lee: the original form:			//	rep_ = static_cast<Rep*>(operator new(sizeof(Rep) + cap));			// doesn't work in some cases of new being overloaded. Switching			// to the normal allocation, although use an 'int' for systems			// that are overly picky about structure alignment.			const size_type bytesNeeded = sizeof(Rep) + cap;			const size_type intsNeeded = ( bytesNeeded + sizeof(int) - 1 ) / sizeof( int ); 			rep_ = reinterpret_cast<Rep*>( new int[ intsNeeded ] );			rep_->str[ rep_->size = sz ] = '\0';			rep_->capacity = cap;		}		else		{			rep_ = &nullrep_;		}	}	void quit()	{		if (rep_ != &nullrep_)		{			// The rep_ is really an array of ints. (see the allocator, above).			// Cast it back before delete, so the compiler won't incorrectly call destructors.			delete [] ( reinterpret_cast<int*>( rep_ ) );		}	}	Rep * rep_;	static Rep nullrep_;} ;inline bool operator == (const TiXmlString & a, const TiXmlString & b){	return    ( a.length() == b.length() )				// optimization on some platforms	       && ( strcmp(a.c_str(), b.c_str()) == 0 );	// actual compare}inline bool operator < (const TiXmlString & a, const TiXmlString & b){	return strcmp(a.c_str(), b.c_str()) < 0;}inline bool operator != (const TiXmlString & a, const TiXmlString & b) { return !(a == b); }inline bool operator >  (const TiXmlString & a, const TiXmlString & b) { return b < a; }inline bool operator <= (const TiXmlString & a, const TiXmlString & b) { return !(b < a); }inline bool operator >= (const TiXmlString & a, const TiXmlString & b) { return !(a < b); }inline bool operator == (const TiXmlString & a, const char* b) { return strcmp(a.c_str(), b) == 0; }inline bool operator == (const char* a, const TiXmlString & b) { return b == a; }inline bool operator != (const TiXmlString & a, const char* b) { return !(a == b); }inline bool operator != (const char* a, const TiXmlString & b) { return !(b == a); }TiXmlString operator + (const TiXmlString & a, const TiXmlString & b);TiXmlString operator + (const TiXmlString & a, const char* b);TiXmlString operator + (const char* a, const TiXmlString & b);/*   TiXmlOutStream is an emulation of std::ostream. It is based on TiXmlString.   Only the operators that we need for TinyXML have been developped.*/class TiXmlOutStream : public TiXmlString{public :	// TiXmlOutStream << operator.	TiXmlOutStream & operator << (const TiXmlString & in)	{		*this += in;		return *this;	}	// TiXmlOutStream << operator.	TiXmlOutStream & operator << (const char * in)	{		*this += in;		return *this;	}} ;#endif	// TIXML_STRING_INCLUDED#endif	// TIXML_USE_STL

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99综合影院在线| 91精品久久久久久久99蜜桃| 日韩精品欧美精品| 国产拍揄自揄精品视频麻豆| 91精品福利在线| 成人a区在线观看| 免费在线一区观看| 亚洲日本一区二区三区| 欧美一区二区三区四区久久| av电影天堂一区二区在线| 久久99热这里只有精品| 一区二区在线看| 国产免费观看久久| 欧美精品一区二区三区很污很色的 | 欧美午夜一区二区| 成人a免费在线看| 国产一区福利在线| 久久精品噜噜噜成人88aⅴ | 国产精品1024久久| 久久精品二区亚洲w码| 亚洲bt欧美bt精品777| 亚洲精品日韩一| 亚洲色图在线看| 亚洲欧美偷拍卡通变态| 国产精品美女久久久久久久久| 久久久蜜桃精品| 久久综合色鬼综合色| 精品国偷自产国产一区| 日韩视频在线永久播放| 制服丝袜一区二区三区| 欧美日韩免费在线视频| 欧美日韩性生活| 欧洲精品中文字幕| 在线影院国内精品| 色综合天天综合网天天狠天天 | 国产在线一区观看| 韩国成人福利片在线播放| 美腿丝袜亚洲综合| 日韩av一二三| 免费av网站大全久久| 美国欧美日韩国产在线播放| 蜜桃在线一区二区三区| 捆绑调教一区二区三区| 美女一区二区久久| 精品在线观看视频| 国产老妇另类xxxxx| 国产二区国产一区在线观看| 国产91精品精华液一区二区三区 | 成人黄色小视频在线观看| av激情成人网| 欧美自拍丝袜亚洲| 欧美日韩国产中文| 日韩欧美一区中文| 久久这里只精品最新地址| 国产目拍亚洲精品99久久精品| 中文字幕第一区第二区| 亚洲日本丝袜连裤袜办公室| 亚洲午夜久久久久久久久电影院| 亚洲第一激情av| 加勒比av一区二区| 懂色av一区二区三区免费观看| 99久久国产综合精品女不卡| 欧洲精品中文字幕| 欧美va亚洲va| 中文在线资源观看网站视频免费不卡| 中文字幕一区二区三区精华液| 亚洲欧美日韩在线不卡| 日本成人在线电影网| 国产精品一区二区91| 一本到高清视频免费精品| 欧美三级午夜理伦三级中视频| 日韩欧美视频一区| 国产精品国产三级国产| 午夜日韩在线观看| 国产成人午夜精品5599| 欧美伊人久久久久久午夜久久久久| 欧美丰满高潮xxxx喷水动漫| 久久夜色精品国产噜噜av| 亚洲精品免费在线观看| 精品一区在线看| 宅男在线国产精品| 久久人人爽人人爽| 一区二区三区国产| 经典三级一区二区| 欧美亚洲国产一区二区三区| 久久综合视频网| 亚洲狠狠爱一区二区三区| 国产精品一区二区无线| 欧美日韩二区三区| 中文字幕一区在线观看视频| 日韩福利视频网| 91小宝寻花一区二区三区| 日韩欧美第一区| 一区二区在线观看免费| 国产精品一区二区久激情瑜伽| 欧美日韩在线播放三区四区| 中文字幕成人av| 久久爱www久久做| 欧美色图12p| 国产精品传媒在线| 国产美女视频一区| 91精品国产91久久久久久最新毛片 | 欧美三级三级三级爽爽爽| 中文字幕欧美国产| 久久99久久久欧美国产| 欧美午夜视频网站| 亚洲四区在线观看| 国产经典欧美精品| 欧美一区二区三区的| 亚洲精品成人少妇| 成人99免费视频| 久久这里只有精品6| 蜜臀久久99精品久久久久久9| 日本久久一区二区三区| 国产精品国模大尺度视频| 国产综合色产在线精品| 日韩西西人体444www| 视频一区二区中文字幕| 欧美三级在线播放| 亚洲最新视频在线观看| 91视频国产观看| 18成人在线视频| 成人黄动漫网站免费app| 久久精品在这里| 国模一区二区三区白浆| 亚洲精品一区二区三区在线观看| 美女被吸乳得到大胸91| 这里只有精品免费| 人禽交欧美网站| 欧美一区二区三区四区五区 | 成人a区在线观看| 国产精品视频第一区| 国产成人在线电影| 国产欧美精品一区二区三区四区| 狠狠色丁香九九婷婷综合五月| 精品对白一区国产伦| 精品无人码麻豆乱码1区2区| 久久综合九色综合欧美亚洲| 国产一区免费电影| 中文字幕的久久| 91在线观看视频| 一区二区在线免费观看| 欧美三级日韩三级| 五月婷婷色综合| 日韩精品一区二区三区中文不卡| 精东粉嫩av免费一区二区三区| 久久综合色综合88| 成人一级片在线观看| 成人免费在线观看入口| 欧美综合在线视频| 午夜影院在线观看欧美| 日韩美一区二区三区| 国产成人精品免费网站| 国产精品麻豆欧美日韩ww| 91麻豆文化传媒在线观看| 亚洲午夜一二三区视频| 欧美日韩精品一区二区在线播放| 日韩精品一区第一页| 日韩久久精品一区| 成人一区二区三区| 亚洲国产综合人成综合网站| 日韩美女天天操| 波多野结衣精品在线| 亚洲国产精品欧美一二99| 精品免费视频.| 成人综合婷婷国产精品久久免费| 亚洲欧美日韩久久精品| 欧美一级欧美一级在线播放| 国产精品自拍三区| 一区二区三区欧美久久| 日韩视频免费观看高清在线视频| 国产69精品久久777的优势| 亚洲一二三区不卡| 久久久精品国产免大香伊| 在线观看欧美黄色| 经典三级在线一区| 亚洲综合色视频| 久久综合中文字幕| 在线欧美日韩精品| 国产最新精品免费| 亚洲高清在线视频| 欧美韩国日本综合| 欧美伦理视频网站| 成人av网址在线| 欧美a一区二区| 中文字幕综合网| 精品精品国产高清一毛片一天堂| 一本色道久久综合亚洲91 | 美女国产一区二区三区| 亚洲人一二三区| 久久你懂得1024| 欧美精品久久天天躁| 99久久99久久久精品齐齐| 久久精品国产亚洲高清剧情介绍| 一区二区国产盗摄色噜噜| 国产丝袜美腿一区二区三区| 欧美精品 日韩| 日本韩国欧美一区二区三区| 国产剧情一区在线| 麻豆91在线观看|