From e2120257dda4d91b48bb031a96edda810ce30dfb Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 30 Sep 2008 12:49:34 +0000 Subject: Changed SAXParser parse method to take a buffer and a size instead of a c++ string. Made the queryhandler use a read loop, parsing on-the-fly to determine when the entire document has been read. --- server/src/transactionparser.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'server/src/transactionparser.h') diff --git a/server/src/transactionparser.h b/server/src/transactionparser.h index 1f7d23f..5a3beb3 100644 --- a/server/src/transactionparser.h +++ b/server/src/transactionparser.h @@ -37,22 +37,11 @@ public: ~TransactionParser(); void startTag(std::string name, std::map< std::string, std::string> attributes); - void endTag(std::string name); void parseError(char *buf, size_t len, std::string error, int lineno); - bool parse(std::string data); - - unsigned int usedBytes(); - -protected: - int readData(char *data, size_t size); - private: - unsigned int bufferbytes; - unsigned int totalbytes; Transaction *transaction; - bool done; }; #endif/*__PRACRO_TRANSACTIONPARSER_H__*/ -- cgit v1.2.3