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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
QueryParserToken.h
Go to the documentation of this file.
1 
2 // 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 QUERYPARSERTOKEN_H
8 #define QUERYPARSERTOKEN_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene {
13 
15 class LPPAPI QueryParserToken : public LuceneObject {
16 public:
18  QueryParserToken(int32_t kind = 0, const String& image = EmptyString);
19 
20  virtual ~QueryParserToken();
21 
23 
24 public:
26  int32_t kind;
27 
29  int32_t beginLine;
30 
32  int32_t beginColumn;
33 
35  int32_t endLine;
36 
38  int32_t endColumn;
39 
41  String image;
42 
48 
57 
58 public:
60  virtual String toString();
61 
65  static QueryParserTokenPtr newToken(int32_t ofKind, const String& image = EmptyString);
66 };
67 
68 }
69 
70 #endif

clucene.sourceforge.net