projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds external flush function,
[SXSI/XMLTree.git]
/
XMLTreeBuilder.h
diff --git
a/XMLTreeBuilder.h
b/XMLTreeBuilder.h
index
055eeda
..
c7a9036
100644
(file)
--- a/
XMLTreeBuilder.h
+++ b/
XMLTreeBuilder.h
@@
-67,7
+67,7
@@
class XMLTreeBuilder {
int eta_size;
\r
// Allows to disable the TextCollection for benchmarkin purposes
\r
bool disable_tc;
\r
int eta_size;
\r
// Allows to disable the TextCollection for benchmarkin purposes
\r
bool disable_tc;
\r
-
\r
+ TextCollectionBuilder::index_type_t text_index_type;
\r
public:
\r
\r
XMLTreeBuilder() {;};
\r
public:
\r
\r
XMLTreeBuilder() {;};
\r
@@
-82,7
+82,8
@@
public:
* (i.e. everything is considered an empty text *)
\r
* Returns a non-zero value upon success, NULLT in case of
\r
* error. */
\r
* (i.e. everything is considered an empty text *)
\r
* Returns a non-zero value upon success, NULLT in case of
\r
* error. */
\r
- int OpenDocument(bool empty_texts, int sample_rate_text, bool dtc);
\r
+ int OpenDocument(bool empty_texts, int sample_rate_text, bool dtc,
\r
+ TextCollectionBuilder::index_type_t index_type);
\r
\r
/** CloseDocument(): finishes the construction of the data structure for
\r
* the XML document. Tree and tags are represented in the final form,
\r
\r
/** CloseDocument(): finishes the construction of the data structure for
\r
* the XML document. Tree and tags are represented in the final form,
\r