Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef FASTCHARSTREAM_H
8 #define FASTCHARSTREAM_H
int32_t bufferLength
Definition: FastCharStream.h:29
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
int32_t bufferStart
Definition: FastCharStream.h:33
virtual ~FastCharStream()
int32_t bufferPosition
Definition: FastCharStream.h:30
virtual void backup(int32_t amount)
Backs up the input stream by amount steps. Lexer calls this method if it had already read some charac...
virtual int32_t getColumn()
Returns the column position of the character last read.
boost::shared_ptr< Reader > ReaderPtr
Definition: LuceneTypes.h:547
virtual int32_t getLine()
Returns the line number of the character last read.
CharArray buffer
Definition: FastCharStream.h:24
virtual int32_t getBeginColumn()
Returns the column number of the first character for current token (being matched after the last call...
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
virtual wchar_t readChar()
Returns the next character from the selected input. The method of selecting the input is the responsi...
virtual void Done()
The lexer calls this function to indicate that it is done with the stream and hence implementations c...
int32_t tokenStart
Definition: FastCharStream.h:32
virtual CharArray GetSuffix(int32_t length)
Returns an array of characters that make up the suffix of length for the currently matched token....
virtual int32_t getBeginLine()
Returns the line number of the first character for current token (being matched after the last call t...
virtual String GetImage()
Returns a string made up of characters from the marked token beginning to the current buffer position...
virtual wchar_t BeginToken()
Returns the next character that marks the beginning of the next token. All characters must remain in ...
ReaderPtr input
Definition: FastCharStream.h:35
FastCharStream(const ReaderPtr &reader)
Constructs from a Reader.
This interface describes a character stream that maintains line and column number positions of the ch...
Definition: QueryParserCharStream.h:22
virtual int32_t getEndLine()
Returns the line number of the last character for current token (being matched after the last call to...
virtual int32_t getEndColumn()
Returns the column number of the last character for current token (being matched after the last call ...
An efficient implementation of QueryParserCharStream interface.
Definition: FastCharStream.h:18
clucene.sourceforge.net