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
DocIdSetIterator.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 DOCIDSETITERATOR_H
8 #define DOCIDSETITERATOR_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene
13 {
17 class LPPAPI DocIdSetIterator : public LuceneObject
18 {
19 public:
20 virtual ~DocIdSetIterator();
21
22 LUCENE_CLASS(DocIdSetIterator);
23
24 public:
27 static const int32_t NO_MORE_DOCS;
28
29 public:
36 virtual int32_t docID() = 0;
37
43 virtual int32_t nextDoc() = 0;
44
71 virtual int32_t advance(int32_t target) = 0;
72 };
73 }
74
75 #endif

clucene.sourceforge.net