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