strus  0.17
database_leveldb.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_DATABASE_LEVELDB_LIB_HPP_INCLUDED
11 #define _STRUS_DATABASE_LEVELDB_LIB_HPP_INCLUDED
12 #include <string>
13 
15 namespace strus {
16 
18 class DatabaseInterface;
20 class ErrorBufferInterface;
21 
24 DatabaseInterface* createDatabaseType_leveldb( const std::string& workdir, ErrorBufferInterface* errorhnd);
25 
26 }//namespace
27 #endif
28 
DatabaseInterface * createDatabaseType_leveldb(const std::string &workdir, ErrorBufferInterface *errorhnd)
Get the database interface implemented with leveldb with the functions for accessing the key/value st...