#include <BasicDocStream.hpp>
Inheritance diagram for BasicTokenDoc:

Public Methods | |
| BasicTokenDoc () | |
| BasicTokenDoc (ifstream *stream) | |
| void | startTermIteration () const |
| start term iteration | |
| const char * | getID () const |
| returns the external string ID | |
| bool | hasMore () const |
| returns true iff there's at least one term for iteration | |
| const Term * | nextTerm () const |
| returns a pointer to next term (static memory, do not delete the returned instance). caller should check hasMore() before calling it | |
| void | skipToEnd () const |
| "fast forward" to the end of the document | |
Friends | |
| class | BasicDocStream |
|
|
|
|
|
|
|
|
returns the external string ID
Implements Document. |
|
|
returns true iff there's at least one term for iteration
Implements Document. |
|
|
returns a pointer to next term (static memory, do not delete the returned instance). caller should check hasMore() before calling it
Implements Document. |
|
|
"fast forward" to the end of the document
Implements Document. |
|
|
start term iteration
Implements Document. |
|
|
|
1.2.18