YPC  0.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ypc::db_base Class Referenceabstract
Inheritance diagram for ypc::db_base:
Inheritance graph
[legend]

Public Member Functions

 db_base (const std::string &url, const std::string &usrname, const std::string &passwd, const std::string &dbname)
 
virtual void create_tables ()=0
 
virtual void clear_tables ()=0
 
::ff::sql::mysql<::ff::sql::cppconn > * db_engine_ptr ()
 

Protected Member Functions

void init_db (const std::string &url, const std::string &usrname, const std::string &passwd, const std::string &dbname)
 

Protected Attributes

std::shared_ptr<::ff::sql::mysql<::ff::sql::cppconn > > m_db_engine
 

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