#include <IndriTermInfoList.hpp>
Inheritance diagram for indri::index::PositionList:

Public Member Functions | |
| PositionList (const class TermList *list) | |
| ~PositionList () | |
| lemur::api::TermInfo * | newElement () |
| void | assignElement (lemur::api::TermInfo *to, lemur::api::TermInfo *from) |
| lemur::api::TermInfo * | getElement (lemur::api::TermInfo *elem, lemur::api::POS_T position) const |
| Set element from position, returns pointer to the element. | |
| lemur::api::POS_T | beginPosition () const |
| Position at beginning of list. | |
| lemur::api::POS_T | endPosition () const |
| Position at end of list. | |
| lemur::api::POS_T | nextPosition (lemur::api::POS_T position) const |
| Advance to next position. | |
| void | startIteration () const |
| Prepare iteration. | |
| bool | hasMore () const |
| Has more entries. | |
| lemur::api::TermInfo * | nextEntry () const |
| Get a pointer to the next entry (pointer to a local static memory), so do not delete it. | |
| virtual int | size () |
| Gets the number of entries in this list. | |
| virtual lemur::api::TermInfo * | operator[] (int index) const |
Private Attributes | |
| const class TermList * | _list |
| PositionInfo | _info |
| int | _position |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Position at beginning of list.
Implements lemur::api::TermInfoList. |
|
|
Position at end of list.
Implements lemur::api::TermInfoList. |
|
||||||||||||
|
Set element from position, returns pointer to the element.
Implements lemur::api::TermInfoList. |
|
|
Has more entries.
Implements lemur::api::TermInfoList. |
|
|
|
|
|
Get a pointer to the next entry (pointer to a local static memory), so do not delete it.
Implements lemur::api::TermInfoList. |
|
|
Advance to next position.
Implements lemur::api::TermInfoList. |
|
|
indexed access to the list. Also sets the iterator to the next item after or to the end if invalid. Implements lemur::api::TermInfoList. |
|
|
Gets the number of entries in this list.
Implements lemur::api::TermInfoList. |
|
|
Prepare iteration.
Implements lemur::api::TermInfoList. |
|
|
|
|
|
|
|
|
|
1.3.4