#include <TermInfoList.hpp>
Inheritance diagram for lemur::api::TermInfoList:

Public Member Functions | |
| virtual | ~TermInfoList () |
| virtual void | startIteration () const =0 |
| Prepare iteration. | |
| virtual bool | hasMore () const =0 |
| Has more entries. | |
| virtual TermInfo * | 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 |
| Gets the number of entries in this list. | |
| virtual TermInfo * | operator[] (int index) const =0 |
| iterator & | begin () const |
| iterator & | end () const |
Protected Member Functions | |
| virtual TermInfo * | newElement () const |
| Create new element of this list type for the iterator. | |
| virtual TermInfo * | getElement (TermInfo *elem, POS_T position) const =0 |
| Set element from position, returns pointer to the element. | |
| virtual void | assignElement (TermInfo *to, TermInfo *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 | |
| TermInfoList::iterator | itbegin |
| TermInfoList::iterator | itend |
Friends | |
| class | iterator |
This is an abstract class that represents the term entries in doc index, i.e., the ID and frequency of all terms in a document.
|
|
|
|
||||||||||||
|
Copy values from one Element to another Subclasses must cast from TermInfo if not using TermInfo elements Reimplemented in lemur::index::InvFPTermList. |
|
|
|
|
|
Position at beginning of list.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
|
|
|
Position at end of list.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
||||||||||||
|
Set element from position, returns pointer to the element.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
Has more entries.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
Create new element of this list type for the iterator.
Reimplemented in lemur::index::InvFPTermList. |
|
|
Get a pointer to the next entry (pointer to a local static memory), so do not delete it.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
Advance to next position.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
indexed access to the list. Also sets the iterator to the next item after or to the end if invalid. Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
Gets the number of entries in this list.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
Prepare iteration.
Implemented in indri::index::BagList, indri::index::PositionList, and lemur::index::InvFPTermList. |
|
|
|
|
|
|
|
|
|
1.3.4