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/queryparser.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'server/src/queryparser.h') diff --git a/server/src/queryparser.h b/server/src/queryparser.h index ea952e7..b550a5f 100644 --- a/server/src/queryparser.h +++ b/server/src/queryparser.h @@ -39,7 +39,7 @@ */ class QueryParser : public SAXParser { public: - QueryParser(std::string document); + QueryParser(); void startTag(std::string name, std::map< std::string, std::string> attributes); void endTag(std::string name); @@ -47,9 +47,6 @@ public: QueryResult result; -protected: - int readData(char *data, size_t size); - private: // For read int p; -- cgit v1.2.3