Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef BUFFEREDREADER_H
8 #define BUFFEREDREADER_H
39 virtual int32_t
read(
wchar_t* b, int32_t offset, int32_t length);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Reader > ReaderPtr
Definition: LuceneTypes.h:547
virtual ~BufferedReader()
Read text from a character-input stream, buffering characters so as to provide for the efficient read...
Definition: BufferedReader.h:16
virtual void reset()
Reset the stream.
Definition: AbstractAllTermDocs.h:12
virtual void close()
Close the stream.
virtual int32_t read(wchar_t *b, int32_t offset, int32_t length)
Read characters into a portion of an array.
virtual bool readLine(String &line)
Read a line of text.
static const int32_t READER_BUFFER
Definition: BufferedReader.h:32
CharArray buffer
Definition: BufferedReader.h:29
BufferedReader(const ReaderPtr &reader, int32_t size=READER_BUFFER)
Create a buffering character-input stream.
virtual bool markSupported()
Tell whether this stream supports the mark() operation.
int32_t bufferLength
Definition: BufferedReader.h:27
Abstract class for reading character streams.
Definition: Reader.h:15
ReaderPtr reader
Definition: BufferedReader.h:22
int32_t peek()
Read a single character without moving position.
virtual int32_t read()
Read a single character.
int32_t refill()
Refill buffer in preparation for reading.
int32_t bufferSize
Definition: BufferedReader.h:26
int32_t bufferPosition
Definition: BufferedReader.h:28
clucene.sourceforge.net