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
ReadOnlySegmentReader.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 READONLYSEGMENTREADER_H
8 #define READONLYSEGMENTREADER_H
9
10 #include "SegmentReader.h"
11
12 namespace Lucene
13 {
14 class ReadOnlySegmentReader : public SegmentReader
15 {
16 public:
17 virtual ~ReadOnlySegmentReader();
18
19 LUCENE_CLASS(ReadOnlySegmentReader);
20
21 public:
22 static void noWrite();
23
24 virtual void acquireWriteLock();
25 virtual bool isDeleted(int32_t n);
26 };
27 }
28
29 #endif

clucene.sourceforge.net