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
DocIdBitSet.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 DOCIDBITSET_H
8
#define DOCIDBITSET_H
9
10
#include "
DocIdSet.h
"
11
12
namespace
Lucene {
13
15
class
LPPAPI
DocIdBitSet
:
public
DocIdSet
{
16
public
:
17
DocIdBitSet
();
18
DocIdBitSet
(
const
BitSetPtr
& bitSet);
19
20
virtual
~
DocIdBitSet
();
21
22
LUCENE_CLASS
(
DocIdBitSet
);
23
24
protected
:
25
BitSetPtr
bitSet;
26
27
public
:
28
virtual
DocIdSetIteratorPtr
iterator();
29
31
virtual
bool
isCacheable();
32
34
BitSetPtr
getBitSet();
35
36
virtual
bool
equals(
const
LuceneObjectPtr
& other);
37
virtual
int32_t hashCode();
38
virtual
LuceneObjectPtr
clone(
const
LuceneObjectPtr
& other =
LuceneObjectPtr
());
39
};
40
41
}
42
43
#endif
clucene.sourceforge.net