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
MapFieldSelector.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 MAPFIELDSELECTOR_H
8
#define MAPFIELDSELECTOR_H
9
10
#include "
FieldSelector.h
"
11
12
namespace
Lucene
13
{
14
typedef
HashMap<String, FieldSelector::FieldSelectorResult>
MapStringFieldSelectorResult
;
15
17
class
LPPAPI
MapFieldSelector
:
public
FieldSelector
18
{
19
public
:
22
MapFieldSelector
(
MapStringFieldSelectorResult
fieldSelections);
23
26
MapFieldSelector
(
Collection<String>
fields);
27
28
virtual
~
MapFieldSelector
();
29
30
LUCENE_CLASS
(
MapFieldSelector
);
31
32
public
:
33
MapStringFieldSelectorResult
fieldSelections;
34
35
public
:
39
virtual
FieldSelectorResult
accept(
const
String& fieldName);
40
};
41
}
42
43
#endif
clucene.sourceforge.net