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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SimpleFSDirectory.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 SIMPLEFSDIRECTORY_H
8 #define SIMPLEFSDIRECTORY_H
9 
10 #include "FSDirectory.h"
11 
12 namespace Lucene
13 {
15  class LPPAPI SimpleFSDirectory : public FSDirectory
16  {
17  public:
21  SimpleFSDirectory(const String& path, LockFactoryPtr lockFactory = LockFactoryPtr());
22  virtual ~SimpleFSDirectory();
23 
25 
26  public:
28  virtual IndexOutputPtr createOutput(const String& name);
29 
31  virtual IndexInputPtr openInput(const String& name);
32 
34  virtual IndexInputPtr openInput(const String& name, int32_t bufferSize);
35  };
36 }
37 
38 #endif

clucene.sourceforge.net