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

BasicTokenDoc Class Reference

doc representation for BasicDocStream More...

#include <BasicDocStream.hpp>

Inheritance diagram for BasicTokenDoc:

Document List of all members.

Public Methods

 BasicTokenDoc ()
 BasicTokenDoc (ifstream *stream)
void startTermIteration ()
 start term iteration

char * getID () const
 returns the external string ID

bool hasMore ()
 returns true iff there's at least one term for iteration

TokenTermnextTerm ()
 returns a pointer to next term (static memory, do not delete the returned instance). caller should check hasMore() before calling it

void skipToEnd ()
 "fast forward" to the end of the document


Friends

class BasicDocStream

Detailed Description

doc representation for BasicDocStream


Constructor & Destructor Documentation

BasicTokenDoc::BasicTokenDoc   [inline]
 

BasicTokenDoc::BasicTokenDoc ifstream *    stream [inline]
 


Member Function Documentation

char* BasicTokenDoc::getID   [inline, virtual]
 

returns the external string ID

Implements Document.

bool BasicTokenDoc::hasMore   [inline, virtual]
 

returns true iff there's at least one term for iteration

Implements Document.

TokenTerm * BasicTokenDoc::nextTerm   [virtual]
 

returns a pointer to next term (static memory, do not delete the returned instance). caller should check hasMore() before calling it

Implements Document.

void BasicTokenDoc::skipToEnd   [virtual]
 

"fast forward" to the end of the document

Implements Document.

void BasicTokenDoc::startTermIteration   [virtual]
 

start term iteration

Implements Document.


Friends And Related Function Documentation

friend class BasicDocStream [friend]
 


The documentation for this class was generated from the following files:
Generated on Tue Nov 25 11:27:02 2003 for Lemur Toolkit by doxygen1.2.18