projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed the topmost () bug, added getTextCollection function
[SXSI/XMLTree.git]
/
XMLTree.h
diff --git
a/XMLTree.h
b/XMLTree.h
index
c0dab2b
..
f605286
100644
(file)
--- a/
XMLTree.h
+++ b/
XMLTree.h
@@
-333,9
+333,12
@@
public:
/** GetText(d): returns the text corresponding to document with
\r
* id d. */
\r
uchar* GetText(DocID d) {
\r
/** GetText(d): returns the text corresponding to document with
\r
* id d. */
\r
uchar* GetText(DocID d) {
\r
- Text->GetText(d);
\r
+
return
Text->GetText(d);
\r
}
\r
\r
}
\r
\r
+ TextCollection *getTextCollection() {
\r
+ return Text;
\r
+ }
\r
/** Save: saves XML tree data structure to file. */
\r
void Save(unsigned char *filename);
\r
\r
/** Save: saves XML tree data structure to file. */
\r
void Save(unsigned char *filename);
\r
\r