#include <TermInfoList.hpp>
Inheritance diagram for TermInfoList:
Public Methods | |
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. | |
iterator & | begin () const |
iterator & | end () const |
Protected Methods | |
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 InvFPTermList. |
|
|
|
Position at beginning of list.
Implemented in indri::index::BagList, indri::index::PositionList, InvFPTermList, and InvTermList. |
|
|
|
Position at end of list.
Implemented in indri::index::BagList, indri::index::PositionList, InvFPTermList, and InvTermList. |
|
Set element from position, returns pointer to the element.
Implemented in indri::index::BagList, indri::index::PositionList, InvFPTermList, and InvTermList. |
|
Has more entries.
Implemented in indri::index::BagList, indri::index::PositionList, InvFPTermList, and InvTermList. |
|
Create new element of this list type for the iterator.
Reimplemented in 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, InvFPTermList, and InvTermList. |
|
Advance to next position.
Implemented in indri::index::BagList, indri::index::PositionList, InvFPTermList, and InvTermList. |
|
Prepare iteration.
Implemented in indri::index::BagList, indri::index::PositionList, InvFPTermList, and InvTermList. |
|
|
|
|
|
|