#include <IndriTermInfoList.hpp>
Inheritance diagram for indri::index::PositionList:
Public Methods | |
PositionList (class TermListBuilder *list) | |
~PositionList () | |
TermInfo * | newElement () |
void | assignElement (TermInfo *to, TermInfo *from) |
TermInfo * | getElement (TermInfo *elem, POS_T position) const |
Set element from position, returns pointer to the element. | |
POS_T | beginPosition () const |
Position at beginning of list. | |
POS_T | endPosition () const |
Position at end of list. | |
POS_T | nextPosition (POS_T position) const |
Advance to next position. | |
void | startIteration () const |
Prepare iteration. | |
bool | hasMore () const |
Has more entries. | |
TermInfo * | nextEntry () const |
Get a pointer to the next entry (pointer to a local static memory), so do not delete it. |
|
|
|
|
|
|
|
Position at beginning of list.
Implements TermInfoList. |
|
Position at end of list.
Implements TermInfoList. |
|
Set element from position, returns pointer to the element.
Implements TermInfoList. |
|
Has more entries.
Implements TermInfoList. |
|
|
|
Get a pointer to the next entry (pointer to a local static memory), so do not delete it.
Implements TermInfoList. |
|
Advance to next position.
Implements TermInfoList. |
|
Prepare iteration.
Implements TermInfoList. |