ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
TestDbInterface::TestDbAdapter2 Class Reference
Inheritance diagram for TestDbInterface::TestDbAdapter2:

Public Member Functions

 TestDbAdapter2 ()
 
void Config (const std::string &endpoint, const timeval &timeout)
 
int Delete (const std::vector< std::string > &keys)
 
bool Exists (const std::string &key)
 
std::string Get (const std::string &key)
 
std::vector< std::string > MultiGet (const std::vector< std::string > &keys)
 
std::string Get (const std::string &key, const std::string &field)
 
std::vector< std::string > MultiGet (const std::string &key, const std::vector< std::string > &fields)
 
std::map< std::string,
std::string > 
Scan (const std::string &sorted_set, const std::string &pattern)
 
void Set (const std::string &key, const std::string &value)
 
void MultiSet (const std::vector< std::string > &kvs)
 
void Set (const std::string &key, const std::string &field, const std::string &value)
 
void MultiSet (const std::string &key, const std::vector< std::string > &fvs)
 
void Connect ()
 
void Disconnect ()
 
bool IsConnected ()
 

Public Attributes

std::string m_state
 
std::string m_substate
 
std::string m_status
 
std::map< std::string,
std::string > 
m_map_keys
 

Constructor & Destructor Documentation

TestDbInterface::TestDbAdapter2::TestDbAdapter2 ( )
inline

Member Function Documentation

void TestDbInterface::TestDbAdapter2::Config ( const std::string &  endpoint,
const timeval &  timeout 
)
inline
void TestDbInterface::TestDbAdapter2::Connect ( )
inline
int TestDbInterface::TestDbAdapter2::Delete ( const std::vector< std::string > &  keys)
inline
void TestDbInterface::TestDbAdapter2::Disconnect ( )
inline
bool TestDbInterface::TestDbAdapter2::Exists ( const std::string &  key)
inline
std::string TestDbInterface::TestDbAdapter2::Get ( const std::string &  key)
inline
std::string TestDbInterface::TestDbAdapter2::Get ( const std::string &  key,
const std::string &  field 
)
inline
bool TestDbInterface::TestDbAdapter2::IsConnected ( )
inline
std::vector<std::string> TestDbInterface::TestDbAdapter2::MultiGet ( const std::vector< std::string > &  keys)
inline
std::vector<std::string> TestDbInterface::TestDbAdapter2::MultiGet ( const std::string &  key,
const std::vector< std::string > &  fields 
)
inline
void TestDbInterface::TestDbAdapter2::MultiSet ( const std::vector< std::string > &  kvs)
inline
void TestDbInterface::TestDbAdapter2::MultiSet ( const std::string &  key,
const std::vector< std::string > &  fvs 
)
inline
std::map<std::string,std::string> TestDbInterface::TestDbAdapter2::Scan ( const std::string &  sorted_set,
const std::string &  pattern 
)
inline
void TestDbInterface::TestDbAdapter2::Set ( const std::string &  key,
const std::string &  value 
)
inline
void TestDbInterface::TestDbAdapter2::Set ( const std::string &  key,
const std::string &  field,
const std::string &  value 
)
inline

Member Data Documentation

std::map<std::string, std::string> TestDbInterface::TestDbAdapter2::m_map_keys
std::string TestDbInterface::TestDbAdapter2::m_state
std::string TestDbInterface::TestDbAdapter2::m_status
std::string TestDbInterface::TestDbAdapter2::m_substate

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