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
QueryWrapperFilter.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 QUERYWRAPPERFILTER_H
8
#define QUERYWRAPPERFILTER_H
9
10
#include "
Filter.h
"
11
12
namespace
Lucene {
13
20
class
LPPAPI
QueryWrapperFilter
:
public
Filter
{
21
public
:
23
QueryWrapperFilter
(
const
QueryPtr
& query);
24
25
virtual
~
QueryWrapperFilter
();
26
27
LUCENE_CLASS
(
QueryWrapperFilter
);
28
29
protected
:
30
QueryPtr
query;
31
32
public
:
33
virtual
DocIdSetPtr
getDocIdSet(
const
IndexReaderPtr
& reader);
34
virtual
String toString();
35
virtual
bool
equals(
const
LuceneObjectPtr
& other);
36
virtual
int32_t hashCode();
37
};
38
39
}
40
41
#endif
clucene.sourceforge.net