ifw-ccf  3.0.0-pre2
Public Member Functions | List of all members
ccf::common::InternalDb Class Reference

DB implementing the 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 &key, TYPE &value)
 
template<typename TYPE >
void Set (const std::string &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. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ InternalDb() [1/2]

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

◆ ~InternalDb()

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

◆ InternalDb() [2/2]

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

Member Function Documentation

◆ Get()

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

◆ GetPrefix()

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

◆ IsConnected()

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

◆ operator=()

InternalDb& ccf::common::InternalDb::operator= ( const InternalDb )
delete

Disable copy constructor.

◆ Scan()

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

◆ Set()

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

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