CLucene - a full-featured, c++ search engine
API Documentation
Ported implementation of the FastCharStream class. More...
#include <FastCharStream.h>
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 | |
| Reader * | input |
Ported implementation of the FastCharStream class.
| lucene::util::FastCharStream::FastCharStream | ( | Reader * | reader | ) |
Initializes a new instance of the FastCharStream class LUCENE_EXPORT.
| lucene::util::FastCharStream::~FastCharStream | ( | ) |
| 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 | ( | ) |