X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=SXSIStorageInterface.h;h=807fc79686a4c740ce51791c446f8fe7bd03212f;hb=0d7eadaaedb0e9b485242975263b8f0480fc2f39;hp=8f09a484161b9b7f44b346bd80e9794f41b2ec69;hpb=9c9764f2217221c6b2282d353233da958955cb97;p=SXSI%2Fxpathcomp.git diff --git a/SXSIStorageInterface.h b/SXSIStorageInterface.h index 8f09a48..807fc79 100644 --- a/SXSIStorageInterface.h +++ b/SXSIStorageInterface.h @@ -19,16 +19,25 @@ 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_*/