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

Public Methods | |
| InvTermList () | |
| ~InvTermList () | |
| void | startIteration () |
| prepare iteration. | |
| bool | hasMore () |
| has more entries. | |
| TermInfo* | nextEntry () |
| Get a pointer to the next entry (pointer to a local static memory). | |
| int | docLength () |
| Get the length of this document. | |
| int | termCount () |
| Get the number of terms in this document. | |
| int | docID () |
| Get the docid this list is for. | |
| bool | binRead (ifstream &infile) |
| Read in a TermInfoList object from a file Assumes the following format: DOCID DOCLENGTH TID TERM_COUNT .. | |
|
|
|
|
|
|
|
|
Read in a TermInfoList object from a file Assumes the following format: DOCID DOCLENGTH TID TERM_COUNT ..
|
|
|
Get the docid this list is for.
|
|
|
Get the length of this document.
|
|
|
has more entries.
Reimplemented from TermInfoList. |
|
|
Get a pointer to the next entry (pointer to a local static memory).
Reimplemented from TermInfoList. |
|
|
prepare iteration.
Reimplemented from TermInfoList. |
|
|
Get the number of terms in this document.
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000