filesaver
filesaver::services::LevelDbFactory Class Reference

#include <LevelDbFactory.h>

Public Member Functions

 INJECT (LevelDbFactory(settings::SettingsService *settingsService))
 
leveldb::Status openDatabase (const leveldb::Options &options, const std::string &databaseTag, leveldb::DB **databasePtr)
 
leveldb::Status destroyDatabase (const leveldb::Options &options, const std::string &databaseTag)
 
std::string getPathForTag (const std::string &databaseTag)
 

Detailed Description

Definition at line 17 of file LevelDbFactory.h.

Member Function Documentation

◆ destroyDatabase()

leveldb::Status filesaver::services::LevelDbFactory::destroyDatabase ( const leveldb::Options &  options,
const std::string &  databaseTag 
)

Definition at line 33 of file LevelDbFactory.cpp.

◆ getPathForTag()

std::string filesaver::services::LevelDbFactory::getPathForTag ( const std::string &  databaseTag)

Definition at line 38 of file LevelDbFactory.cpp.

◆ INJECT()

filesaver::services::LevelDbFactory::INJECT ( LevelDbFactory(settings::SettingsService *settingsService)  )

◆ openDatabase()

leveldb::Status filesaver::services::LevelDbFactory::openDatabase ( const leveldb::Options &  options,
const std::string &  databaseTag,
leveldb::DB **  databasePtr 
)

Definition at line 19 of file LevelDbFactory.cpp.


The documentation for this class was generated from the following files: