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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ValueSource.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 VALUESOURCE_H
8 #define VALUESOURCE_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene
13 {
21  class LPPAPI ValueSource : public LuceneObject
22  {
23  public:
24  virtual ~ValueSource();
26 
27  public:
31  virtual DocValuesPtr getValues(IndexReaderPtr reader) = 0;
32 
34  virtual String description() = 0;
35 
36  virtual String toString();
37 
39  virtual bool equals(LuceneObjectPtr other) = 0;
40 
42  virtual int32_t hashCode() = 0;
43  };
44 }
45 
46 #endif

clucene.sourceforge.net