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 // 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 QUERYPARSERTOKEN_H
8 #define QUERYPARSERTOKEN_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene
13 {
15  class LPPAPI QueryParserToken : public LuceneObject
16  {
17  public:
19  QueryParserToken(int32_t kind = 0, const String& image = EmptyString);
20 
21  virtual ~QueryParserToken();
22 
24 
25  public:
27  int32_t kind;
28 
30  int32_t beginLine;
31 
33  int32_t beginColumn;
34 
36  int32_t endLine;
37 
39  int32_t endColumn;
40 
42  String image;
43 
49 
58 
59  public:
61  virtual String toString();
62 
66  static QueryParserTokenPtr newToken(int32_t ofKind, const String& image = EmptyString);
67  };
68 }
69 
70 #endif

clucene.sourceforge.net