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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DocIdSet.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 DOCIDSET_H
8 #define DOCIDSET_H
9 
10 #include "DocIdSetIterator.h"
11 
12 namespace Lucene {
13 
16 class LPPAPI DocIdSet : public LuceneObject {
17 public:
18  virtual ~DocIdSet();
20 
21 public:
24  virtual DocIdSetIteratorPtr iterator() = 0;
25 
30  virtual bool isCacheable();
31 
33  static DocIdSetPtr EMPTY_DOCIDSET();
34 };
35 
36 }
37 
38 #endif

clucene.sourceforge.net