X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=SXSIStorageInterface.h;h=943a0000c88108e1a01280207a90b80a7f6fdfa2;hb=09870a49122b3d7048422818dbb0a038513b4d14;hp=8f09a484161b9b7f44b346bd80e9794f41b2ec69;hpb=9c9764f2217221c6b2282d353233da958955cb97;p=SXSI%2Fxpathcomp.git diff --git a/SXSIStorageInterface.h b/SXSIStorageInterface.h index 8f09a48..943a000 100644 --- a/SXSIStorageInterface.h +++ b/SXSIStorageInterface.h @@ -12,23 +12,42 @@ #include "XMLTree.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; + 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_*/