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
ComplexExplanation.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 COMPLEXEXPLANATION_H
8 #define COMPLEXEXPLANATION_H
9
10 #include "Explanation.h"
11
12 namespace Lucene
13 {
16 class LPPAPI ComplexExplanation : public Explanation
17 {
18 public:
19 ComplexExplanation(bool match = false, double value = 0, const String& description = EmptyString);
20 virtual ~ComplexExplanation();
21
22 LUCENE_CLASS(ComplexExplanation);
23
24 protected:
25 bool match;
26
27 public:
29 bool getMatch();
30
32 void setMatch(bool match);
33
40 virtual bool isMatch();
41
42 protected:
43 virtual String getSummary();
44 };
45 }
46
47 #endif

clucene.sourceforge.net