diff options
author | deva <deva> | 2008-09-30 12:49:34 +0000 |
---|---|---|
committer | deva <deva> | 2008-09-30 12:49:34 +0000 |
commit | e2120257dda4d91b48bb031a96edda810ce30dfb (patch) | |
tree | f83eadbbb6d84fd0d6fb7d7a4d3e342535854795 /server/src/queryparser.h | |
parent | a01f655935558e0f71253907fd8e4c57b0d2f64c (diff) |
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.
Diffstat (limited to 'server/src/queryparser.h')
-rw-r--r-- | server/src/queryparser.h | 5 |
1 files changed, 1 insertions, 4 deletions
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; |