Missing files in the previous commit.
[SXSI/xpathcomp.git] / SXSIStorageInterface.h
1 /*****************************************
2  * SXSIStorageInterface.h
3  * ------------------------
4  * Header file for an SXSI Storage Interface
5  * 
6  * Author: Kim Nguyen
7  * Date: 25/11/08
8  */
9
10 #ifndef SXSISTORAGEINTERFACE_H_
11 #define SXSISTORAGEINTERFACE_H_
12
13 #include "XMLTree.h"
14 #include "StorageInterface.h"
15
16
17 using namespace std;
18
19 class SXSIStorageInterface: public StorageInterface
20 {
21  public:
22         SXSIStorageInterface();
23         virtual ~SXSIStorageInterface();
24         virtual void newChild(string name);
25         virtual void newText(string text); 
26         virtual void nodeFinished(string name);
27         virtual void parsingFinished();
28         virtual void* returnDocument();
29         
30  private:
31         XMLTree* tree;
32 };
33
34 #endif /*SXSISTORAGEINTERFACE_H_*/