#include <FieldInfoList.hpp>
Inheritance diagram for lemur::api::FieldInfoList:
Public Member Functions | |
virtual | ~FieldInfoList () |
virtual void | startIteration ()=0 |
Prepare iteration. | |
virtual bool | hasMore () const =0 |
Has more entries. | |
virtual FieldInfo * | nextEntry () const =0 |
Get a pointer to the next entry (pointer to a local static memory), so do not delete it. | |
virtual int | size ()=0 |
returns the number of FieldInfo elements in the list | |
virtual FieldInfo * | operator[] (int index)=0 |
indexed access to the list | |
iterator & | begin () const |
iterator & | end () const |
Protected Member Functions | |
virtual FieldInfo * | newElement () const |
Create new element of this list type for the iterator. | |
virtual FieldInfo * | getElement (FieldInfo *elem, POS_T position) const =0 |
Set element from position, returns pointer to the element. | |
virtual void | assignElement (FieldInfo *to, FieldInfo *from) const |
virtual POS_T | beginPosition () const =0 |
Position at beginning of list. | |
virtual POS_T | endPosition () const =0 |
Position at end of list. | |
virtual POS_T | nextPosition (POS_T position) const =0 |
Advance to next position. | |
Protected Attributes | |
FieldInfoList::iterator | itbegin |
FieldInfoList::iterator | itend |
Friends | |
class | iterator |
This is an abstract class that represents the FieldInfo entries for a document in an index
|
|
|
Copy values from one Element to another Subclasses must cast from FieldInfo if not using FieldInfo elements |
|
|
|
Position at beginning of list.
Implemented in lemur::api::IndriFieldInfoList. |
|
|
|
Position at end of list.
Implemented in lemur::api::IndriFieldInfoList. |
|
Set element from position, returns pointer to the element.
Implemented in lemur::api::IndriFieldInfoList. |
|
Has more entries.
Implemented in lemur::api::IndriFieldInfoList. |
|
Create new element of this list type for the iterator.
|
|
Get a pointer to the next entry (pointer to a local static memory), so do not delete it.
Implemented in lemur::api::IndriFieldInfoList. |
|
Advance to next position.
Implemented in lemur::api::IndriFieldInfoList. |
|
indexed access to the list
Implemented in lemur::api::IndriFieldInfoList. |
|
returns the number of FieldInfo elements in the list
Implemented in lemur::api::IndriFieldInfoList. |
|
Prepare iteration.
Implemented in lemur::api::IndriFieldInfoList. |
|
|
|
|
|
|