Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

indri::index::PositionList Class Reference

#include <IndriTermInfoList.hpp>

Inheritance diagram for indri::index::PositionList:

TermInfoList List of all members.

Public Methods

 PositionList (class TermListBuilder *list)
 ~PositionList ()
TermInfonewElement ()
void assignElement (TermInfo *to, TermInfo *from)
TermInfogetElement (TermInfo *elem, POS_T position) const
 Set element from position, returns pointer to the element.

POS_T beginPosition () const
 Position at beginning of list.

POS_T endPosition () const
 Position at end of list.

POS_T nextPosition (POS_T position) const
 Advance to next position.

void startIteration () const
 Prepare iteration.

bool hasMore () const
 Has more entries.

TermInfonextEntry () const
 Get a pointer to the next entry (pointer to a local static memory), so do not delete it.


Constructor & Destructor Documentation

indri::index::PositionList::PositionList class TermListBuilder   list
 

indri::index::PositionList::~PositionList  
 


Member Function Documentation

void indri::index::PositionList::assignElement TermInfo   to,
TermInfo   from
 

POS_T indri::index::PositionList::beginPosition   [virtual]
 

Position at beginning of list.

Implements TermInfoList.

POS_T indri::index::PositionList::endPosition   [virtual]
 

Position at end of list.

Implements TermInfoList.

TermInfo * indri::index::PositionList::getElement TermInfo   elem,
POS_T    position
const [virtual]
 

Set element from position, returns pointer to the element.

Implements TermInfoList.

bool indri::index::PositionList::hasMore   [virtual]
 

Has more entries.

Implements TermInfoList.

TermInfo * indri::index::PositionList::newElement  
 

TermInfo * indri::index::PositionList::nextEntry   [virtual]
 

Get a pointer to the next entry (pointer to a local static memory), so do not delete it.

Implements TermInfoList.

POS_T indri::index::PositionList::nextPosition POS_T    position const [virtual]
 

Advance to next position.

Implements TermInfoList.

void indri::index::PositionList::startIteration   [virtual]
 

Prepare iteration.

Implements TermInfoList.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 13:00:04 2004 for Lemur Toolkit by doxygen1.2.18