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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
QueryParserCharStream.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 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  {
24  public:
26 
27  public:
30  virtual wchar_t readChar() = 0;
31 
35  virtual int32_t getColumn() = 0;
36 
40  virtual int32_t getLine() = 0;
41 
44  virtual int32_t getEndColumn() = 0;
45 
48  virtual int32_t getEndLine() = 0;
49 
52  virtual int32_t getBeginColumn() = 0;
53 
56  virtual int32_t getBeginLine() = 0;
57 
61  virtual void backup(int32_t amount) = 0;
62 
65  virtual wchar_t BeginToken() = 0;
66 
70  virtual String GetImage() = 0;
71 
74  virtual CharArray GetSuffix(int32_t length) = 0;
75 
79  virtual void Done() = 0;
80  };
81 }
82 
83 #endif

clucene.sourceforge.net