X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=SXSIStorageInterface.h;h=bd6559444e8c464ad34bebef4ed421ff1f316040;hb=451e60ad59e35344dff62da5ca27fcd5eec1bff9;hp=8f09a484161b9b7f44b346bd80e9794f41b2ec69;hpb=9c9764f2217221c6b2282d353233da958955cb97;p=SXSI%2Fxpathcomp.git diff --git a/SXSIStorageInterface.h b/SXSIStorageInterface.h index 8f09a48..bd65594 100644 --- a/SXSIStorageInterface.h +++ b/SXSIStorageInterface.h @@ -11,24 +11,45 @@ #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); virtual void nodeFinished(string name); virtual void parsingFinished(); virtual void* returnDocument(); + virtual void printStats(); private: + XMLTree* tree; + XMLTreeBuilder* tb; + int _new_text; + int _new_empty_text; + int _new_child; + int _length_text; + int _heap_base; + int _heap_parsing; + int _heap_done; + }; #endif /*SXSISTORAGEINTERFACE_H_*/