ifw-ccf 5.0.2
|
DB implementing the ifw::core::utils::bat::DbInterface; used for internal/test purposes. More...
#include <db.hpp>
Public Member Functions | |
InternalDb (const std::string &prefix) | |
~InternalDb () | |
bool | IsConnected () |
std::string | GetPrefix () |
template<typename TYPE > | |
void | Get (const std::string &db_key, TYPE &value) |
template<typename TYPE > | |
void | Set (const std::string &db_key, const TYPE &value) |
std::map< std::string, std::string > | Scan (const std::string &key, const std::string &pattern) |
InternalDb (const InternalDb &)=delete | |
InternalDb & | operator= (const InternalDb &)=delete |
Disable copy constructor. | |
DB implementing the ifw::core::utils::bat::DbInterface; used for internal/test purposes.
ifw::ccf::common::InternalDb::InternalDb | ( | const std::string & | prefix | ) |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
delete |
Disable copy constructor.
std::map< std::string, std::string > ifw::ccf::common::InternalDb::Scan | ( | const std::string & | key, |
const std::string & | pattern ) |