#include <QueryDocument.hpp>
Inheritance diagram for QueryDocument:

Public Methods | |
| QueryDocument () | |
| ~QueryDocument () | |
| void | startTermIteration () |
| start term iteration | |
| bool | hasMore () |
| returns true iff there's at least one term for iteration | |
| void | skipToEnd () |
| "fast forward" to the end of the document | |
| TokenTerm * | nextTerm () |
| get the next term. do not delete TT returned | |
| void | addTerm (const char *token) |
| char * | handleWord (char *word) |
| Handle a word, possibly transforming it. | |
| char * | handleSymbol (char *sym) |
| Handle a word, possibly transforming it. | |
| char * | getID () const |
| returns the external string ID | |
| void | setID (const char *idstr) |
Private Attributes | |
| char * | id |
| vector< char * > | tokens |
| int | iter |
| QueryToken | tt |
|
|
|
|
|
|
|
|
|
|
|
returns the external string ID
Implements Document. |
|
|
Handle a word, possibly transforming it.
Reimplemented from TextHandler. |
|
|
Handle a word, possibly transforming it.
Reimplemented from TextHandler. |
|
|
returns true iff there's at least one term for iteration
Implements Document. |
|
|
get the next term. do not delete TT returned
Implements Document. |
|
|
|
|
|
"fast forward" to the end of the document
Implements Document. |
|
|
start term iteration
Implements Document. |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16