projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes
[SXSI/xpathcomp.git]
/
SXSIStorageInterface.cpp
diff --git
a/SXSIStorageInterface.cpp
b/SXSIStorageInterface.cpp
index
e5bd7cf
..
d770d7e
100644
(file)
--- a/
SXSIStorageInterface.cpp
+++ b/
SXSIStorageInterface.cpp
@@
-12,10
+12,10
@@
#include "Utils.h"
#include "Utils.h"
-SXSIStorageInterface::SXSIStorageInterface()
+SXSIStorageInterface::SXSIStorageInterface(
int sf,bool iet,bool dtc
)
{
tree = new XMLTree();
{
tree = new XMLTree();
- tree->OpenDocument(
false,64
);
+ tree->OpenDocument(
iet,sf,dtc
);
}
SXSIStorageInterface::~SXSIStorageInterface()
}
SXSIStorageInterface::~SXSIStorageInterface()
@@
-42,13
+42,13
@@
void SXSIStorageInterface::newText(string text)
tree->NewText((unsigned char*) text.c_str());
}
}
tree->NewText((unsigned char*) text.c_str());
}
}
-
void SXSIStorageInterface::nodeFinished(string name)
{
tree->NewClosingTag((unsigned char*) name.c_str());
void SXSIStorageInterface::nodeFinished(string name)
{
tree->NewClosingTag((unsigned char*) name.c_str());
- }
+
+}
void SXSIStorageInterface::parsingFinished()
{
void SXSIStorageInterface::parsingFinished()
{
@@
-58,8
+58,9
@@
void SXSIStorageInterface::nodeFinished(string name)
}
void *SXSIStorageInterface::returnDocument(){
}
void *SXSIStorageInterface::returnDocument(){
-
+#ifdef DEBUG
printStats();
printStats();
+#endif
return ((void *) tree);
}
return ((void *) tree);
}