X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=SXSIStorageInterface.h;h=bd6559444e8c464ad34bebef4ed421ff1f316040;hb=70ff0bfc463882ecf233f1b1a7ac4a8007fa4cc2;hp=a627d3eff357fca61e8cffad53e7b94d2480790e;hpb=24fdea81b5506233d139bd7d72364a190bef35b8;p=SXSI%2Fxpathcomp.git diff --git a/SXSIStorageInterface.h b/SXSIStorageInterface.h index a627d3e..bd65594 100644 --- a/SXSIStorageInterface.h +++ b/SXSIStorageInterface.h @@ -11,15 +11,25 @@ #define SXSISTORAGEINTERFACE_H_ #include "XMLTree.h" +#include "XMLTreeBuilder.h" #include "StorageInterface.h" +extern "C" { +#include +#include +#include +#include +#include +#include + +} //extern C using namespace std; class SXSIStorageInterface: public StorageInterface { public: - SXSIStorageInterface(); + SXSIStorageInterface(int sf, bool iet, bool dtc); virtual ~SXSIStorageInterface(); virtual void newChild(string name); virtual void newText(string text); @@ -29,7 +39,9 @@ class SXSIStorageInterface: public StorageInterface virtual void printStats(); private: + XMLTree* tree; + XMLTreeBuilder* tb; int _new_text; int _new_empty_text; int _new_child;