ifw-ccf 5.0.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ifw::ccf::common::InternalDb Class Reference

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
 
InternalDboperator= (const InternalDb &)=delete
 Disable copy constructor.
 

Detailed Description

DB implementing the ifw::core::utils::bat::DbInterface; used for internal/test purposes.

Constructor & Destructor Documentation

◆ InternalDb() [1/2]

ifw::ccf::common::InternalDb::InternalDb ( const std::string & prefix)

◆ ~InternalDb()

ifw::ccf::common::InternalDb::~InternalDb ( )
inline

◆ InternalDb() [2/2]

ifw::ccf::common::InternalDb::InternalDb ( const InternalDb & )
delete

Member Function Documentation

◆ Get()

template<typename TYPE >
void ifw::ccf::common::InternalDb::Get ( const std::string & db_key,
TYPE & value )
inline

◆ GetPrefix()

std::string ifw::ccf::common::InternalDb::GetPrefix ( )
inline

◆ IsConnected()

bool ifw::ccf::common::InternalDb::IsConnected ( )
inline

◆ operator=()

Disable copy constructor.

◆ Scan()

std::map< std::string, std::string > ifw::ccf::common::InternalDb::Scan ( const std::string & key,
const std::string & pattern )

◆ Set()

template<typename TYPE >
void ifw::ccf::common::InternalDb::Set ( const std::string & db_key,
const TYPE & value )
inline

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