X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=StorageInterface.h;h=843a55eb42a2fb24424838862eec0e686e7ee626;hb=cea756c7adc49891004bfe455628010eb7a28bc9;hp=c6f94aab772b21051dcd4e67be88436107c6dbfd;hpb=3623eefccfb5fc69e19ad975a3669f51a2a8b276;p=SXSI%2Fxpathcomp.git diff --git a/StorageInterface.h b/StorageInterface.h index c6f94aa..843a55e 100644 --- a/StorageInterface.h +++ b/StorageInterface.h @@ -20,13 +20,17 @@ using namespace std; class StorageInterface { -public: + public: virtual ~StorageInterface(); virtual void newChild(string name) = 0; virtual void newText(string text) = 0; - virtual void nodeFinished() = 0; + virtual void nodeFinished(string name) = 0; virtual void parsingFinished() = 0; virtual void* returnDocument() = 0; + virtual void printStats() = 0; + private: + + }; #endif /*STORAGEINTERFACE_H_*/