#include <InvFPTermPropList.hpp>
Inheritance diagram for InvFPTermPropList:
Public Methods | |
TermInfo * | nextTerm () const |
TermInfo * | nextTerm (InvFPTermPropList::iterator &it) const |
bool | hasMoreTerm () const |
bool | hasMoreTerm (InvFPTermPropList::iterator &it) const |
void | skipTo (int pos) const |
void | skipTo (InvFPTermPropList::iterator &it, int pos) const |
int | nextEntryPos () const |
int | nextEntryPos (InvFPTermPropList::iterator &it) const |
int | nextTermPos () const |
int | nextTermPos (InvFPTermPropList::iterator &it) const |
|
|
|
returns true if there is another term can use to know that nextTerm will not return NULL check is slower than hasMore(), depending on number of properties |
|
|
|
Peek ahead and tell me what the position of the next entry is Does not change position of iterator returns -1 on error or end of list |
|
|
|
Skip all tags and give me the next term Basicaly skips to first item with different position Returns NULL if no more terms. |
|
|
|
Peak ahead and tell me what the position of the next term is (skips all entries with same position and gives the next different position) Does not change position of iterator returns -1 on error or end of list |
|
|
|
Advance the pointer to the next entry with the given position goes to next available term past pos if no actually pos is found (can happen because of stopwords) goes to end if pos is beyond end of list |