1 /*****************************************
2 * SXSIStorageInterface.h
3 * ------------------------
4 * Header file for an SXSI Storage Interface
10 #ifndef SXSISTORAGEINTERFACE_H_
11 #define SXSISTORAGEINTERFACE_H_
14 #include "XMLTreeBuilder.h"
15 #include "StorageInterface.h"
17 #include <caml/mlvalues.h>
18 #include <caml/alloc.h>
19 #include <caml/memory.h>
20 #include <caml/callback.h>
21 #include <caml/fail.h>
22 #include <caml/custom.h>
29 class SXSIStorageInterface: public StorageInterface
32 SXSIStorageInterface(int sf, bool iet, bool dtc);
33 virtual ~SXSIStorageInterface();
34 virtual void newChild(string name);
35 virtual void newText(string text);
36 virtual void nodeFinished(string name);
37 virtual void parsingFinished();
38 virtual void* returnDocument();
39 virtual void printStats();
55 #endif /*SXSISTORAGEINTERFACE_H_*/