CLucene - a full-featured, c++ search engine
API Documentation


lucene::util::FastCharStream Class Reference

Ported implementation of the FastCharStream class. More...

#include <FastCharStream.h>

Inheritance diagram for lucene::util::FastCharStream:
lucene::debug::LuceneBase

List of all members.

Public Member Functions

 FastCharStream (Reader *reader)
 Initializes a new instance of the FastCharStream class LUCENE_EXPORT.
 ~FastCharStream ()
int GetNext ()
 Returns the next TCHAR from the stream.
void UnGet ()
int Peek ()
 Returns the current top TCHAR from the input stream without removing it.
bool Eos () const
 Returns True if the end of stream was reached.
int32_t Column () const
 Gets the current column.
int32_t Line () const
 Gets the current line.

Public Attributes

Readerinput

Detailed Description

Ported implementation of the FastCharStream class.


Constructor & Destructor Documentation

lucene::util::FastCharStream::FastCharStream ( Reader reader  ) 

Initializes a new instance of the FastCharStream class LUCENE_EXPORT.

lucene::util::FastCharStream::~FastCharStream (  ) 

Member Function Documentation

int32_t lucene::util::FastCharStream::Column (  )  const

Gets the current column.

bool lucene::util::FastCharStream::Eos (  )  const

Returns True if the end of stream was reached.

int lucene::util::FastCharStream::GetNext (  ) 

Returns the next TCHAR from the stream.

int32_t lucene::util::FastCharStream::Line (  )  const

Gets the current line.

int lucene::util::FastCharStream::Peek (  ) 

Returns the current top TCHAR from the input stream without removing it.

void lucene::util::FastCharStream::UnGet (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:

clucene.sourceforge.net