Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef REUSABLESTRINGREADER_H
8 #define REUSABLESTRINGREADER_H
29 virtual void init(
const String&
s);
34 virtual int32_t
read(
wchar_t* buffer, int32_t offset, int32_t
length);
String s
Definition: ReusableStringReader.h:26
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
int32_t upto
Definition: ReusableStringReader.h:21
virtual void close()
Close the stream.
virtual int32_t read()
Read a single character.
Definition: AbstractAllTermDocs.h:12
virtual int64_t length()
The number of bytes in the stream.
Used by DocumentsWriter to implemented a StringReader that can be reset to a new string; we use this ...
Definition: ReusableStringReader.h:16
virtual void init(const String &s)
Abstract class for reading character streams.
Definition: Reader.h:15
virtual int32_t read(wchar_t *buffer, int32_t offset, int32_t length)
Read characters into a portion of an array.
virtual ~ReusableStringReader()
int32_t left
Definition: ReusableStringReader.h:25
clucene.sourceforge.net