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

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

?? xml.h

?? GNU Common C++ is a very portable and highly optimized class framework for writing C++ applications
?? H
字號:
// Copyright (C) 2001-2005 Open Source Telecom Corporation.//// This program is free software; you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation; either version 2 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; if not, write to the Free Software// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.// // As a special exception, you may use this file as part of a free software// library without restriction.  Specifically, if other files instantiate// templates or use macros or inline functions from this file, or you compile// this file and link it with other files to produce an executable, this// file does not by itself cause the resulting executable to be covered by// the GNU General Public License.  This exception does not however    // invalidate any other reasons why the executable file might be covered by// the GNU General Public License.    //// This exception applies only to the code released under the name GNU// Common C++.  If you copy code from other releases into a copy of GNU// Common C++, as the General Public License permits, the exception does// not apply to the code that you add in this way.  To avoid misleading// anyone as to the status of such modified files, you must delete// this exception notice from them.//// If you write modifications of your own for GNU Common C++, it is your choice// whether to permit this exception to apply to your modifications.// If you do not wish that, delete this exception notice.///** * @file xml.h * @short XML streams abstraction and RPC services. **/#ifndef	CCXX_XML_H_#define	CCXX_XML_H_#ifndef CCXX_MISSING_H_#include <cc++/missing.h>#endif#ifndef	CCXX_THREAD_H_#include <cc++/thread.h>#endif#ifndef	CCXX_SLOG_H_#include <cc++/slog.h>#endif#ifdef	CCXX_NAMESPACESnamespace ost {#endif/** * This class impliments a basic XML stream parser that can be used to * examine an XML resource thru virtual I/O methods.  This class must * be derived into one that can impliment the physical I/O required to * parse actual data.  A mixer class using XMLStream and URLStream would * seem a likely combination for this purpose. * * @author David Sugar <dyfet@ostel.com> * @short XML Stream Parser (SAX) */class __EXPORT XMLStream{#ifndef	HAVE_LIBXMLprivate:	int ecount, dcount;	enum { TAG, CDATA, COMMENT, DTD, AMP, NONE} state;	char dbuf[8192];	unsigned dp;	bool parseChunk(const char *chunk, size_t len);	void parseInit(void);	bool parseTag(void);	void putData(char c);	void clrData(void);#endifprotected:	virtual ~XMLStream();public:	/**	 * May perform an open operation on behalf of a parsed resource.	 * In some cases, the parser may be merged with a class that	 * already has performed some kind of open, and this method can	 * then be ignored.	 *	 * @return true if open is successful.	 * @param resource passed to Parse methods.	 */	virtual bool open(const char *resource);	/**	 * May perform a close operation of an i/o source when the parser	 * has completed operation.	 */	virtual void close(void);	/**	 * Get error logging level.	 *	 * @return error logging level.	 */	virtual Slog::Level getLogging(void);	/**	 * Virtual to receive embedded comments in an XML document being	 * parsed.	 *	 * @param text text comment extracted.	 * @param len length of comment.	 */	virtual void comment(const unsigned char *text, size_t len);	/**	 * Read method to aquire data for the parser.	 *	 * @return number of bytes actually read.	 * @param buffer to read data into.	 * @param len number of bytes to read.	 */	virtual int read(unsigned char *buffer, size_t len) = 0;	/**	 * Virtual to receive character text extracted from the document	 * in the current element.	 *	 * @param text received.	 * @param len length of text received.	 */	virtual void characters(const unsigned char *text, size_t len) = 0;	/**	 * Identify start of document event.	 */	virtual void startDocument(void);	/**	 * Identify end of document event.	 */	virtual void endDocument(void);	/**	 * Identify start of an element in the document.	 *	 * @param name of element found.	 * @param attr list of attributes extracted.	 */	virtual void startElement(const unsigned char *name, const unsigned char **attr) = 0;	/**	 * Identify end of an element in the document.	 *	 * @param name of element found.	 */	virtual void endElement(const unsigned char *name) = 0;	/**	 * Parse a resource as a stream thru the virtual read method.	 *	 * @return true if well formed document has been fully parsed.	 * @param resource optional name of resource.	 */	bool parse(const char *resource = NULL);};/** * This class impliments a core XMLRPC service without the underlying * transports.  It is meant to create and parse XMLRPC messages.  To * use for a fit purpose, one might combine it with URLStream, although * this implimentation makes no requirement for http based transport. * * @author David Sugar <dyfet@ostel.com> * @short XML-RPC service building class */class __EXPORT XMLRPC : public XMLStream{private:#ifdef HAVE_SSTREAM	std::stringstream strBuf;#else	char *buffer;	std::strstream *oldStrBuf;	size_t bufSize;#endif	bool structFlag;	bool reply, fault;	unsigned array;	protected:	/**	 * Used in a derived transport class to deliver the XMLRPC encoded	 * request and return true if successful.  The Parse method can	 * then be used to decode the reply.	 *	 * @return true if successful.	 * @param resource to send to (such as url).	 * @param msg well formed XMLRPC request message.	 */	virtual bool post(const char *resource, const char *msg) = 0;		/**	 * Start member struct.	 */	void begStruct(void);public:	/**	 * Construct XMLRPC workspace.	 *	 * @param bufferSize size of buffer when using old C++	 * strstreams. When the newer stringstream (\<sstream\>) is	 * available, this parameter is silently ignored.	 */	XMLRPC(size_t bufferSize = 512);		/**	 * Destroy XMLRPC object.	 */	virtual ~XMLRPC();	/**	 * Create an array.	 */	void begArray(void);	/**	 * end an array.	 */	void endArray(void);		/**	 * Create XMLRPC "method" call in buffer.	 *	 * @param method name of method being called.	 */	void invoke(const char *method);	/**	 * Create XMLRPC "reply" to a method call.	 *	 * @param fault set true for fault message.	 */	void response(bool fault);		/**	 * Add bool param to XMLRPC request.	 *	 * @param value to add.	 */	void addParam(bool value);	/**	 * Add bool member to a XMLRPC struct.	 *	 * @param name of member.	 * @param value of member.	 */	void addMember(const char *name, bool value);	/**	 * Add an integer paramater to XMLRPC request.	 *	 * @param value to add.	 */	void addParam(long value);	/**	 * Add an integer member to XMLRPC struct.	 *	 * @param name of member.	 * @param value of member.	 */	void addMember(const char *name, long value);	/**	 * Add a string paramater to XMLRPC request.	 *	 * @param string to add.	 */	void addParam(const char *string);	/**	 * Add a string member to XMLRPC struct.	 *	 * @param name of member.	 * @param value of member.	 */	void addMember(const char *name, const char *value);	/**	 * Clear a struct.	 */	void endStruct(void);		/**	 * Complete buffer and send well formed XMLRPC request thru post.	 *	 * @return true if successful.	 * @param resource to send to.	 */	bool send(const char *resource);};//#else//#error "XML support has been selected, but libxml could not be found"//#endif // ifdef HAVE_XML//#else//#error "XML support is not available."//#endif // ifdef COMMON_XML_PARSING	#ifdef	CCXX_NAMESPACES}#endif#endif/** EMACS ** * Local variables: * mode: c++ * c-basic-offset: 8 * End: */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区专区| 欧美精品一卡两卡| 久久国产精品露脸对白| 五月婷婷激情综合| 亚洲一区二区三区四区在线免费观看 | 亚洲精品免费在线播放| 欧美国产一区二区| 国产精品三级电影| 1024成人网| 亚洲精品久久久久久国产精华液| 国产精品成人一区二区艾草 | 欧洲在线/亚洲| caoporm超碰国产精品| a级精品国产片在线观看| 99国产欧美另类久久久精品| av在线播放不卡| 色猫猫国产区一区二在线视频| 97久久超碰国产精品电影| 在线观看不卡视频| 91精品国产综合久久福利| 久久免费看少妇高潮| 欧美国产精品劲爆| 一区二区三区在线影院| 日韩在线一区二区三区| 国产电影一区二区三区| 91社区在线播放| 欧美四级电影网| 久久综合九色综合97婷婷| 国产精品伦一区| 午夜精品久久久久久久| 91亚洲精品久久久蜜桃网站| 国产日本欧美一区二区| 国产精品污网站| 亚洲一区二区三区四区在线观看| 日韩中文欧美在线| 丁香六月综合激情| 欧美日韩精品一区二区在线播放| ww久久中文字幕| 中文字幕综合网| 看电视剧不卡顿的网站| 91在线视频播放地址| 日韩午夜在线影院| 亚洲色图欧美在线| 久久99久久久欧美国产| 91福利小视频| 欧美—级在线免费片| 日韩在线卡一卡二| 99精品黄色片免费大全| 久久综合中文字幕| 日韩成人精品在线| 91国在线观看| 日韩精品电影在线| 蜜桃视频一区二区三区在线观看| 国产91高潮流白浆在线麻豆| 4hu四虎永久在线影院成人| 亚洲丝袜另类动漫二区| 韩国一区二区视频| 欧美剧情片在线观看| 亚洲欧洲成人自拍| 国产91丝袜在线18| 亚洲精品在线电影| 日本欧美加勒比视频| 91成人看片片| 亚洲乱码国产乱码精品精小说| 国产一区高清在线| 日韩欧美国产一二三区| 亚洲一卡二卡三卡四卡| 91片在线免费观看| 亚洲视频免费观看| 成人精品小蝌蚪| 国产欧美一区二区精品性| 久久99久久99小草精品免视看| 91麻豆精品国产91久久久使用方法| 玉米视频成人免费看| 99久久国产综合精品女不卡| 国产精品久久久久久久蜜臀| 成人午夜碰碰视频| 日本一区二区三区视频视频| 国产一区二区中文字幕| 久久精品在线观看| 成人中文字幕合集| 中文字幕一区二区视频| 99久久99久久久精品齐齐| 久久久精品黄色| 日本欧美在线观看| 欧美va亚洲va在线观看蝴蝶网| 日韩国产高清在线| 日韩精品中文字幕在线一区| 美美哒免费高清在线观看视频一区二区| 欧美日韩一区小说| 日本不卡一区二区三区高清视频| 欧美精品99久久久**| 免费观看30秒视频久久| 日韩欧美成人激情| 国产伦精品一区二区三区在线观看| 久久欧美一区二区| 99精品久久只有精品| 亚洲图片欧美视频| 日韩欧美色电影| 国产成人在线色| 亚洲自拍偷拍图区| 日韩欧美综合在线| 国产成人夜色高潮福利影视| 亚洲精品成人精品456| 91精品国产一区二区三区蜜臀 | 99久久精品免费看国产 | 99精品一区二区| 亚洲激情成人在线| 91麻豆精品国产| 国产成人av资源| 亚洲18色成人| 国产精品三级久久久久三级| 色综合久久精品| 极品尤物av久久免费看| 亚洲欧洲中文日韩久久av乱码| 欧美日韩国产在线播放网站| 国产精品99久久久| 国产日本欧洲亚洲| 色呦呦网站一区| 久久精品国产**网站演员| 亚洲欧洲综合另类在线| 精品久久久久久久久久久久久久久久久 | 久久精品国产在热久久| 亚洲视频你懂的| 久久综合色鬼综合色| 色综合天天性综合| 国产精一品亚洲二区在线视频| 亚洲国产美女搞黄色| 日本一区二区三级电影在线观看| 欧美亚洲国产一区二区三区va| 国产在线视频精品一区| 亚洲图片欧美一区| 亚洲视频一区二区免费在线观看| 精品av久久707| 91麻豆精品国产| 欧美色精品天天在线观看视频| 丁香另类激情小说| 国产一区啦啦啦在线观看| 成人免费的视频| 666欧美在线视频| 99re热这里只有精品免费视频| 三级欧美在线一区| 亚洲一区二区三区四区五区黄| 中文字幕国产精品一区二区| 2021国产精品久久精品| 日韩一卡二卡三卡| 欧美日韩国产大片| 在线区一区二视频| 91成人在线观看喷潮| 色妹子一区二区| 在线视频一区二区三| 色一情一乱一乱一91av| 一本色道久久加勒比精品| av资源网一区| 色av成人天堂桃色av| 色婷婷精品久久二区二区蜜臀av | 欧美日韩在线三级| 欧美日韩在线播放一区| 欧美日韩中文字幕一区| 欧美精品免费视频| 国产91丝袜在线观看| 激情丁香综合五月| 激情六月婷婷久久| 国产精品一区久久久久| 成人免费看片app下载| 99精品在线免费| 欧美伊人精品成人久久综合97| 欧美日韩在线综合| 91精品国产综合久久福利软件| 日韩欧美自拍偷拍| 亚洲国产经典视频| 亚洲欧美日韩久久| 偷拍亚洲欧洲综合| 久88久久88久久久| 99久久99久久久精品齐齐| 在线亚洲精品福利网址导航| 欧美精品99久久久**| 久久久亚洲精华液精华液精华液| 中文字幕高清不卡| 亚洲成人免费av| 国产美女精品人人做人人爽| 波多野结衣亚洲| 欧美精品电影在线播放| 国产丝袜在线精品| 一区二区三区免费网站| 麻豆精品视频在线观看视频| 不卡av免费在线观看| 亚洲不卡一区二区三区| 蜜臀久久久久久久| 高清在线不卡av| 欧美视频第二页| 久久久www成人免费无遮挡大片| 欧美综合欧美视频| 欧美视频一区二区三区四区| 日韩一区二区三区视频在线观看| 国产亚洲精品资源在线26u| 亚洲第一狼人社区| 国产精品996| 欧美一区二区精品久久911| 中文字幕一区二区三区蜜月|