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
ValueSource.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 VALUESOURCE_H
8
#define VALUESOURCE_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
21
class
LPPAPI
ValueSource
:
public
LuceneObject
{
22
public
:
23
virtual
~
ValueSource
();
24
LUCENE_CLASS
(
ValueSource
);
25
26
public
:
30
virtual
DocValuesPtr
getValues(
const
IndexReaderPtr
& reader) = 0;
31
33
virtual
String description() = 0;
34
35
virtual
String toString();
36
38
virtual
bool
equals(
const
LuceneObjectPtr
& other) = 0;
39
41
virtual
int32_t hashCode() = 0;
42
};
43
44
}
45
46
#endif
clucene.sourceforge.net