projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commit before changing Tree.ml interface
[SXSI/xpathcomp.git]
/
SXSIStorageInterface.h
diff --git
a/SXSIStorageInterface.h
b/SXSIStorageInterface.h
index
807fc79
..
bd65594
100644
(file)
--- a/
SXSIStorageInterface.h
+++ b/
SXSIStorageInterface.h
@@
-11,8
+11,18
@@
#define SXSISTORAGEINTERFACE_H_
#include "XMLTree.h"
#define SXSISTORAGEINTERFACE_H_
#include "XMLTree.h"
+#include "XMLTreeBuilder.h"
#include "StorageInterface.h"
#include "StorageInterface.h"
+extern "C" {
+#include <caml/mlvalues.h>
+#include <caml/alloc.h>
+#include <caml/memory.h>
+#include <caml/callback.h>
+#include <caml/fail.h>
+#include <caml/custom.h>
+
+} //extern C
using namespace std;
using namespace std;
@@
-29,7
+39,9
@@
class SXSIStorageInterface: public StorageInterface
virtual void printStats();
private:
virtual void printStats();
private:
+
XMLTree* tree;
XMLTree* tree;
+ XMLTreeBuilder* tb;
int _new_text;
int _new_empty_text;
int _new_child;
int _new_text;
int _new_empty_text;
int _new_child;