Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
33 virtual int32_t
read(
wchar_t* buffer, int32_t offset, int32_t length);
35 virtual void mark(int32_t readAheadLimit);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual void mark(int32_t readAheadLimit)
Mark the present position in the stream. Subsequent calls to reset() will attempt to reposition the s...
virtual void close()
Close the stream.
boost::shared_ptr< Reader > ReaderPtr
Definition: LuceneTypes.h:547
virtual int32_t read(wchar_t *buffer, int32_t offset, int32_t length)
Read characters into a portion of an array.
boost::shared_ptr< CharStream > CharStreamPtr
Definition: LuceneTypes.h:27
virtual int32_t correctOffset(int32_t currentOff)
Called by CharFilter(s) and Tokenizer to correct token offset.
virtual int32_t read()
Read a single character.
Definition: AbstractAllTermDocs.h:12
ReaderPtr input
Definition: CharReader.h:21
virtual bool markSupported()
Tell whether this stream supports the mark() operation.
static CharStreamPtr get(const ReaderPtr &input)
CharReader is a Reader wrapper. It reads chars from Reader and outputs CharStream,...
Definition: CharReader.h:16
CharReader(const ReaderPtr &in)
virtual void reset()
Reset the stream. If the stream has been marked, then attempt to reposition it at the mark....
CharStream adds correctOffset functionality over Reader. All Tokenizers accept a CharStream instead o...
Definition: CharStream.h:18
clucene.sourceforge.net