Lucene++ - a full-featured, c++ search engine
API Documentation

QueryParserCharStream.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6
7 #ifndef QUERYPARSERCHARSTREAM_H
8 #define QUERYPARSERCHARSTREAM_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene {
13
22 class LPPAPI QueryParserCharStream {
23 public:
24 LUCENE_INTERFACE(QueryParserCharStream);
25
26 public:
29 virtual wchar_t readChar() = 0;
30
34 virtual int32_t getColumn() = 0;
35
39 virtual int32_t getLine() = 0;
40
43 virtual int32_t getEndColumn() = 0;
44
47 virtual int32_t getEndLine() = 0;
48
51 virtual int32_t getBeginColumn() = 0;
52
55 virtual int32_t getBeginLine() = 0;
56
60 virtual void backup(int32_t amount) = 0;
61
64 virtual wchar_t BeginToken() = 0;
65
69 virtual String GetImage() = 0;
70
73 virtual CharArray GetSuffix(int32_t length) = 0;
74
78 virtual void Done() = 0;
79 };
80
81 }
82
83 #endif
Lucene::QueryParserCharStream
This interface describes a character stream that maintains line and column number positions of the ch...
Definition: QueryParserCharStream.h:22
LUCENE_INTERFACE
#define LUCENE_INTERFACE(Name)
Definition: LuceneObject.h:19
LuceneObject.h
Lucene
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net