OpenDaVINCI  4.15.3
SimpleDBFactoryWorker.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_WRAPPER_SIMPLEDB_SIMPLEDBFACTORY_H_
21 #define OPENDAVINCI_CORE_WRAPPER_SIMPLEDB_SIMPLEDBFACTORY_H_
22 
24 
27 
29 
30 namespace odcore {
31  namespace wrapper {
32 
33  using namespace std;
34 
36  static std::shared_ptr<KeyValueDatabase> createKeyValueDatabase() {
37  return std::shared_ptr<KeyValueDatabase>(new SimpleDB::SimpleDB());
38  }
39  };
40 
41  }
42 } // odcore::wrapper::SimpleDB
43 
44 #endif /*OPENDAVINCI_CORE_WRAPPER_SIMPLEDB_SIMPLEDBFACTORY_H_*/
Definition: KeyValueDatabaseLibraryProducts.h:35
static std::shared_ptr< KeyValueDatabase > createKeyValueDatabase()
Definition: SimpleDBFactoryWorker.h:36
Definition: SimpleDB.h:40
Definition: KeyValueDatabaseFactoryWorker.h:44
#define OPENDAVINCI_API
Definition: opendavinci.h:67