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

clucene.sourceforge.net