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

indri::index::BagList Class Reference

#include <IndriTermInfoList.hpp>

Inheritance diagram for indri::index::BagList:

TermInfoList List of all members.

Public Methods

 BagList (class TermListBuilder *list)
 ~BagList ()
void startIteration () const
 Prepare iteration.

bool hasMore () const
 Has more entries.

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

TermInfo * getElement (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.


Constructor & Destructor Documentation

indri::index::BagList::BagList (  class TermListBuilder *    list ) 
 

indri::index::BagList::~BagList (    ) 
 


Member Function Documentation

POS_T indri::index::BagList::beginPosition (    )  [virtual]
 

Position at beginning of list.

Implements TermInfoList.

POS_T indri::index::BagList::endPosition (    )  [virtual]
 

Position at end of list.

Implements TermInfoList.

TermInfo * indri::index::BagList::getElement (  TermInfo *    elem,
POS_T    position
)  const [virtual]
 

Set element from position, returns pointer to the element.

Implements TermInfoList.

bool indri::index::BagList::hasMore (    )  [virtual]
 

Has more entries.

Implements TermInfoList.

TermInfo * indri::index::BagList::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::BagList::nextPosition (  POS_T    position )  const [virtual]
 

Advance to next position.

Implements TermInfoList.

void indri::index::BagList::startIteration (    )  [virtual]
 

Prepare iteration.

Implements TermInfoList.


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