CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <SqliteInterface.h>
Public Member Functions | |
SqliteInterface () | |
~SqliteInterface () | |
int | connect () |
int | select_db (std::string dbname) |
int | query (std::string dbname, std::string query) |
int | query (std::string dbname, std::string query, DatabaseRecordVector &records) |
int | disconnect () |
Public Member Functions inherited from DbInterface | |
DbInterface () | |
virtual | ~DbInterface () |
virtual int | connect ()=0 |
virtual int | select_db (std::string dbname)=0 |
virtual int | query (std::string dbname, std::string query, DatabaseRecordVector &records)=0 |
virtual int | query (std::string dbname, std::string query)=0 |
virtual int | disconnect ()=0 |
bool | is_connected () |
void | set_host (std::string host) |
void | set_user (std::string user) |
void | set_passwd (std::string passwd) |
void | set_dbpath (std::string path) |
void | set_reuse_connection (bool flag) |
Protected Member Functions | |
int | connect (std::string fname) |
Additional Inherited Members | |
Protected Attributes inherited from DbInterface | |
bool | m_isConnected |
bool | m_reuseConnection |
std::string | m_dbName |
std::string | m_dbHost |
std::string | m_dbUser |
std::string | m_dbPasswd |
std::string | m_dbPath |
Definition at line 8 of file SqliteInterface.h.
SqliteInterface::SqliteInterface | ( | ) |
Definition at line 26 of file SqliteInterface.cxx.
SqliteInterface::~SqliteInterface | ( | ) |
Definition at line 28 of file SqliteInterface.cxx.
|
virtual |
Implements DbInterface.
Definition at line 30 of file SqliteInterface.cxx.
Referenced by select_db().
|
protected |
Definition at line 35 of file SqliteInterface.cxx.
|
virtual |
Implements DbInterface.
Definition at line 158 of file SqliteInterface.cxx.
Referenced by query(), and select_db().
|
virtual |
Implements DbInterface.
Definition at line 74 of file SqliteInterface.cxx.
Referenced by query().
|
virtual |
Implements DbInterface.
Definition at line 81 of file SqliteInterface.cxx.
|
virtual |
Implements DbInterface.
Definition at line 53 of file SqliteInterface.cxx.
Referenced by query().