1 /*************************************
3 * ---------------------
4 * Header file for abstract class defining a storage interface.
6 * Author: Greg Leighton
10 * 05/11/08 -- Added returnDocument() method
14 #ifndef STORAGEINTERFACE_H_
15 #define STORAGEINTERFACE_H_
21 class StorageInterface
24 virtual ~StorageInterface();
25 virtual void newChild(string name) = 0;
26 virtual void newText(string text) = 0;
27 virtual void nodeFinished(string name) = 0;
28 virtual void parsingFinished() = 0;
29 virtual void* returnDocument() = 0;
30 virtual void printStats() = 0;
36 #endif /*STORAGEINTERFACE_H_*/