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

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

?? xml.h

?? common c++提供socket
?? 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{private:	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);protected:	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一区二区三区免费野_久草精品视频
亚洲成人动漫一区| 亚洲第一激情av| 精品一区二区在线视频| 色噜噜狠狠色综合中国| 亚洲免费看黄网站| 欧美亚日韩国产aⅴ精品中极品| 亚洲a一区二区| 久久久99久久| 91影院在线观看| 麻豆精品久久精品色综合| 欧美视频一区在线| 日本午夜一区二区| 6080yy午夜一二三区久久| 亚洲sss视频在线视频| 久久亚洲影视婷婷| 一本色道久久综合亚洲aⅴ蜜桃| 亚洲精品菠萝久久久久久久| 欧美午夜一区二区三区| 日本视频在线一区| 国产精品久久久久婷婷| 日韩欧美国产一二三区| 国产精品家庭影院| 日韩视频免费观看高清在线视频| 视频在线在亚洲| 亚洲成av人在线观看| 亚洲综合一区二区| 亚洲国产精品ⅴa在线观看| 91精品国产91热久久久做人人| 成人国产在线观看| 成人短视频下载| 国产成人在线视频网站| 日韩黄色小视频| 亚洲一区电影777| 亚洲伦在线观看| 亚洲综合久久久久| 亚洲图片一区二区| 欧美a级理论片| 亚洲成人精品在线观看| 亚洲123区在线观看| 亚洲大型综合色站| 亚洲成av人在线观看| 日本午夜精品一区二区三区电影| 亚洲一区二区在线视频| 国产精品久久影院| 欧美国产1区2区| 国产精品美女久久福利网站| 欧美精品一区二区三区蜜臀| 国产精品乱人伦| 亚洲电影第三页| 极品美女销魂一区二区三区免费| 国产成人免费在线视频| 在线看国产一区| 日韩免费在线观看| 亚洲综合免费观看高清完整版在线 | 国产美女精品在线| 制服丝袜在线91| 国产精品日产欧美久久久久| 亚洲激情在线播放| 久久99国产精品免费网站| 成人午夜又粗又硬又大| 日韩欧美一二三| 亚洲成a人片综合在线| 国产精品一区二区久激情瑜伽| 色综合天天综合在线视频| 日韩午夜在线播放| 成人免费视频在线观看| 国产精品99久久久久| 91精品国产综合久久香蕉的特点| 久久免费偷拍视频| 美女视频一区在线观看| 色www精品视频在线观看| 国产亚洲成年网址在线观看| 精品一区二区三区日韩| 欧美一区二区在线播放| 性久久久久久久久| 91视频观看免费| 亚洲你懂的在线视频| 91视频www| 亚洲人午夜精品天堂一二香蕉| 成人综合在线观看| 国产精品免费网站在线观看| 国模娜娜一区二区三区| 久久久久97国产精华液好用吗| 国产乱子伦一区二区三区国色天香| 日韩一级高清毛片| 国产电影精品久久禁18| 中文字幕成人在线观看| 91年精品国产| 蜜臀av性久久久久蜜臀aⅴ四虎| 91国产福利在线| 樱花影视一区二区| 久久婷婷综合激情| 91香蕉视频在线| 国精品**一区二区三区在线蜜桃| 日韩精品一区二区三区四区视频 | 宅男在线国产精品| 国产69精品久久99不卡| 国产精品每日更新在线播放网址| 91丨九色丨黑人外教| 亚洲精品国产一区二区精华液| 91极品视觉盛宴| 国精产品一区一区三区mba桃花| 亚洲美女视频一区| 中文一区在线播放| 日韩一区二区三区四区| 91猫先生在线| 99re热视频精品| 精品无码三级在线观看视频 | 成人18视频在线播放| 麻豆国产欧美一区二区三区| 中文字幕精品一区二区三区精品 | 成人美女在线观看| 久久成人久久爱| 国产精品99久久久久久有的能看| 久久精品国产久精国产| 蜜臀av性久久久久蜜臀aⅴ| 一区二区三区国产| 亚洲r级在线视频| 亚洲国产美女搞黄色| 亚洲一区日韩精品中文字幕| 一区二区三区欧美激情| 一区二区三区欧美视频| 亚洲另类在线视频| 香蕉成人伊视频在线观看| 日本特黄久久久高潮| 秋霞电影一区二区| 日本在线不卡视频一二三区| 亚洲国产日日夜夜| 一区二区三区自拍| 免费看精品久久片| 日产精品久久久久久久性色| 一区二区三区日韩在线观看| 亚洲乱码国产乱码精品精小说| 尤物在线观看一区| 欧美一级二级三级蜜桃| 日韩欧美你懂的| 久久夜色精品国产噜噜av| 欧美国产综合色视频| 欧美一级片在线| 国产欧美日韩精品一区| 3d成人h动漫网站入口| 日韩一区和二区| 亚洲综合色丁香婷婷六月图片| 亚洲自拍欧美精品| 亚洲不卡在线观看| 日韩成人av影视| 国产精品系列在线观看| 在线观看91精品国产麻豆| 亚洲六月丁香色婷婷综合久久| 国产**成人网毛片九色| 久久久精品蜜桃| 福利视频网站一区二区三区| 91精品国产全国免费观看| 日本一区二区三区国色天香| 亚洲最大的成人av| 日韩在线观看一区二区| 精品国产一二三区| 一区二区高清在线| 国产原创一区二区| 欧美日本在线视频| 亚洲狠狠丁香婷婷综合久久久| 亚洲精品国产一区二区精华液| 精品一区精品二区高清| 91精品国产综合久久久久久漫画 | 7777精品久久久大香线蕉| 日韩写真欧美这视频| 视频一区欧美精品| 日本福利一区二区| 国产精品美女一区二区三区| 国产一区视频在线看| 精品国产污网站| 亚洲一区免费在线观看| 欧美三级日韩三级国产三级| 一区二区三区四区亚洲| 色妞www精品视频| 亚洲国产精品成人综合| 国模冰冰炮一区二区| 久久婷婷国产综合精品青草| 国产精品一区二区在线看| 欧美大片顶级少妇| 午夜视黄欧洲亚洲| 国产欧美一区二区三区沐欲| 成人激情电影免费在线观看| 国产精品美女一区二区在线观看| 99久久精品国产毛片| 午夜亚洲国产au精品一区二区| 久久免费精品国产久精品久久久久| 韩国成人福利片在线播放| 中文字幕一区二区三区四区不卡| 色婷婷精品久久二区二区蜜臀av | 精品捆绑美女sm三区| 成人动漫中文字幕| 激情图片小说一区| 一区二区三区四区乱视频| 欧美一区二区三区白人| 国产一区二区三区av电影| 国产欧美日本一区视频| 欧美成人vps| 中文字幕五月欧美| 亚洲第一狼人社区|