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

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Constants.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 CONSTANTS_H
8 #define CONSTANTS_H
9
10 #include "Lucene.h"
11
12 namespace Lucene
13 {
15 class LPPAPI Constants
16 {
17 private:
18 Constants();
19
20 public:
21 virtual ~Constants();
22
23 public:
24 static String OS_NAME;
25 static String LUCENE_MAIN_VERSION;
26 static String LUCENE_VERSION;
27 };
28
33 class LPPAPI LuceneVersion
34 {
35 private:
36 LuceneVersion();
37
38 public:
39 virtual ~LuceneVersion();
40
41 public:
42 enum Version
43 {
45 LUCENE_20 = 0,
46
48 LUCENE_21,
49
51 LUCENE_22,
52
54 LUCENE_23,
55
57 LUCENE_24,
58
60 LUCENE_29,
61
65 LUCENE_30,
66
68
80 LUCENE_CURRENT
81 };
82
83 public:
84 static bool onOrAfter(LuceneVersion::Version first, LuceneVersion::Version second);
85 };
86 }
87
88 #endif

clucene.sourceforge.net