|
BOSS 8.0.0
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 () |
| 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_port (int port) |
| 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 |
| int | m_dbPort |
| 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 32 of file SqliteInterface.cxx.
|
virtual |
Implements DbInterface.
Definition at line 144 of file SqliteInterface.cxx.
Referenced by query(), and select_db().
|
virtual |
Implements DbInterface.
Definition at line 68 of file SqliteInterface.cxx.
Referenced by query().
|
virtual |
Implements DbInterface.
Definition at line 74 of file SqliteInterface.cxx.
|
virtual |
Implements DbInterface.
Definition at line 49 of file SqliteInterface.cxx.
Referenced by query().