BOSS 7.0.2
BESIII Offline Software System
|
#include <ConnectionDBBase.h>
Public Member Functions | |
ConnectionDBBase (const std::string &host, const std::string &table, const std::string &dbName) | |
Constructor keeps track of table of interest. | |
ConnectionDBBase (const std::string &host, const std::string &dbName, const std::string &userName, const std::string &password) | |
~ConnectionDBBase () | |
bool | connectRead (eRet &err) |
rdbModel::Connection * | getReadConnection () |
rdbModel::Rdb * | getRdb () |
const std::string & | getTable () |
void | disconnectRead () |
void | disconnectWrite () |
ConnectionDBBase (const std::string &host, const std::string &table, const std::string &dbName) | |
Constructor keeps track of table of interest. | |
ConnectionDBBase (const std::string &host, const std::string &dbName, const std::string &userName, const std::string &password) | |
~ConnectionDBBase () | |
bool | connectRead (eRet &err) |
rdbModel::Connection * | getReadConnection () |
rdbModel::Rdb * | getRdb () |
const std::string & | getTable () |
void | disconnectRead () |
void | disconnectWrite () |
Definition at line 13 of file Database/ReadDBBase/ReadDBBase-00-00-02/ReadDBBase/ConnectionDBBase.h.
Used to form bit masks for dbs queries.
Enumerator | |
---|---|
LEVELProd | |
LEVELDev | |
LEVELTest | |
LEVELSuperseded | |
LEVELProd | |
LEVELDev | |
LEVELTest | |
LEVELSuperseded |
Definition at line 26 of file Database/ReadDBBase/ReadDBBase-00-00-02/ReadDBBase/ConnectionDBBase.h.
Used to form bit masks for dbs queries.
Enumerator | |
---|---|
LEVELProd | |
LEVELDev | |
LEVELTest | |
LEVELSuperseded | |
LEVELProd | |
LEVELDev | |
LEVELTest | |
LEVELSuperseded |
Definition at line 26 of file InstallArea/include/ReadDBBase/ReadDBBase/ConnectionDBBase.h.
Definition at line 15 of file Database/ReadDBBase/ReadDBBase-00-00-02/ReadDBBase/ConnectionDBBase.h.
Definition at line 15 of file InstallArea/include/ReadDBBase/ReadDBBase/ConnectionDBBase.h.
ConnectionDBBase::ConnectionDBBase | ( | const std::string & | host, |
const std::string & | table, | ||
const std::string & | dbName | ||
) |
Constructor keeps track of table of interest.
Definition at line 20 of file ConnectionDBBase.cxx.
ConnectionDBBase::ConnectionDBBase | ( | const std::string & | host, |
const std::string & | dbName, | ||
const std::string & | userName, | ||
const std::string & | password | ||
) |
Definition at line 28 of file ConnectionDBBase.cxx.
ConnectionDBBase::~ConnectionDBBase | ( | ) |
Definition at line 34 of file ConnectionDBBase.cxx.
ConnectionDBBase::ConnectionDBBase | ( | const std::string & | host, |
const std::string & | table, | ||
const std::string & | dbName | ||
) |
Constructor keeps track of table of interest.
ConnectionDBBase::ConnectionDBBase | ( | const std::string & | host, |
const std::string & | dbName, | ||
const std::string & | userName, | ||
const std::string & | password | ||
) |
ConnectionDBBase::~ConnectionDBBase | ( | ) |
Definition at line 60 of file ConnectionDBBase.cxx.
void ConnectionDBBase::disconnectRead | ( | ) |
Definition at line 96 of file ConnectionDBBase.cxx.
Referenced by ~ConnectionDBBase().
void ConnectionDBBase::disconnectRead | ( | ) |
void ConnectionDBBase::disconnectWrite | ( | ) |
Definition at line 104 of file ConnectionDBBase.cxx.
Referenced by ~ConnectionDBBase().
void ConnectionDBBase::disconnectWrite | ( | ) |
|
inline |
Definition at line 51 of file Database/ReadDBBase/ReadDBBase-00-00-02/ReadDBBase/ConnectionDBBase.h.
|
inline |
Definition at line 51 of file InstallArea/include/ReadDBBase/ReadDBBase/ConnectionDBBase.h.
|
inline |
Definition at line 48 of file Database/ReadDBBase/ReadDBBase-00-00-02/ReadDBBase/ConnectionDBBase.h.
|
inline |
Definition at line 48 of file InstallArea/include/ReadDBBase/ReadDBBase/ConnectionDBBase.h.
|
inline |
Definition at line 52 of file Database/ReadDBBase/ReadDBBase-00-00-02/ReadDBBase/ConnectionDBBase.h.
|
inline |
Definition at line 52 of file InstallArea/include/ReadDBBase/ReadDBBase/ConnectionDBBase.h.