#include <IndriFieldInfoList.hpp>
Inheritance diagram for lemur::api::IndriFieldInfoList:
Public Member Functions | |
virtual | ~IndriFieldInfoList () |
IndriFieldInfoList () | |
C'tor - initializes a blank list. | |
IndriFieldInfoList (const indri::utility::greedy_vector< indri::index::FieldExtent > &fields) | |
C'tor - initializes a list with field extents. | |
void | add (indri::index::FieldExtent newExtent) |
appends a new field entry at the end of the list | |
virtual void | startIteration () |
Prepare iteration. | |
virtual bool | hasMore () const |
Has more entries. | |
virtual FieldInfo * | nextEntry () const |
Get a pointer to the next entry (pointer to a local static memory), so do not delete it. | |
virtual int | size () |
returns the number of FieldInfo elements in the list | |
virtual FieldInfo * | operator[] (int index) |
indexed access to the list | |
Protected Member Functions | |
virtual FieldInfo * | getElement (FieldInfo *elem, POS_T position) const |
Set element from position, returns pointer to the element. | |
virtual POS_T | beginPosition () const |
Position at beginning of list. | |
virtual POS_T | endPosition () const |
Position at end of list. | |
virtual POS_T | nextPosition (POS_T position) const |
Advance to next position. | |
Protected Attributes | |
int | _position |
std::vector< lemur::api::FieldInfo > | _list |
lemur::api::FieldInfo | _currentInfo |
|
|
|
C'tor - initializes a blank list. C'tor / D'tor methods * |
|
C'tor - initializes a list with field extents.
|
|
appends a new field entry at the end of the list public methods * |
|
Position at beginning of list.
Implements lemur::api::FieldInfoList. |
|
Position at end of list.
Implements lemur::api::FieldInfoList. |
|
Set element from position, returns pointer to the element. protected methods * Implements lemur::api::FieldInfoList. |
|
Has more entries.
Implements lemur::api::FieldInfoList. |
|
Get a pointer to the next entry (pointer to a local static memory), so do not delete it.
Implements lemur::api::FieldInfoList. |
|
Advance to next position.
Implements lemur::api::FieldInfoList. |
|
indexed access to the list
Implements lemur::api::FieldInfoList. |
|
returns the number of FieldInfo elements in the list
Implements lemur::api::FieldInfoList. |
|
Prepare iteration.
Implements lemur::api::FieldInfoList. |
|
|
|
|
|
|