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
SegmentMergeQueue.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 SEGMENTMERGEQUEUE_H
8 #define SEGMENTMERGEQUEUE_H
9
10 #include "PriorityQueue.h"
11
12 namespace Lucene
13 {
14 class SegmentMergeQueue : public PriorityQueue<SegmentMergeInfoPtr>
15 {
16 public:
17 SegmentMergeQueue(int32_t size);
18 virtual ~SegmentMergeQueue();
19
20 LUCENE_CLASS(SegmentMergeQueue);
21
22 public:
23 void close();
24
25 protected:
26 virtual bool lessThan(const SegmentMergeInfoPtr& first, const SegmentMergeInfoPtr& second);
27 };
28 }
29
30 #endif

clucene.sourceforge.net