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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FieldSelector.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 FIELDSELECTOR_H
8 #define FIELDSELECTOR_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene
13 {
16  class LPPAPI FieldSelector : public LuceneObject
17  {
18  protected:
19  FieldSelector();
20 
21  public:
22  virtual ~FieldSelector();
23 
25 
26  public:
29  {
32 
38 
45 
50 
57 
63 
66  SELECTOR_SIZE_AND_BREAK
67  };
68 
69  public:
70  virtual FieldSelectorResult accept(const String& fieldName) = 0;
71  };
72 }
73 
74 #endif

clucene.sourceforge.net