#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 .. |
|
Get the docid this list is for.
|
|
Get the length of this document.
|
|
has more entries
Implements TermInfoList. |
|
Get a pointer to the next entry (pointer to a local static memory).
Implements TermInfoList. |
|
prepare iteration
Implements TermInfoList. |
|
Get the number of terms in this document.
|