X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=XMLDocShredder.h;h=437452ebaaa00093154100605ccfd270526780d4;hb=95367aa932a9e179976e59ea326542c50905f5b3;hp=66a96b54be89d1ba9747c34b587e419eca7b0e74;hpb=77294fdd983393727bcee7fda52dacdaf943e585;p=SXSI%2Fxpathcomp.git diff --git a/XMLDocShredder.h b/XMLDocShredder.h index 66a96b5..437452e 100644 --- a/XMLDocShredder.h +++ b/XMLDocShredder.h @@ -15,16 +15,11 @@ #include #include #include -#include #include "StorageInterface.h" using namespace std; using namespace xmlpp; -/* For Hashmap. Seems fairly well supported */ -using namespace __gnu_cxx; -typedef pair cons_str; -typedef pair cons_int; class XMLDocShredder { @@ -53,6 +48,9 @@ private: TextReader *reader_; void setProperties(); bool last_text; + string buffer; + // used to coalece successive text events + // which can occur if we discard pi and comment nodes. }; #endif /*XMLDOCSHREDDER_H_*/