casa
$Rev:20696$
|
Maintains a connection to an SQLite database. More...
#include <DatabaseConnector.h>
Public Member Functions | |
virtual | ~DatabaseConnector () |
Static Public Member Functions | |
static sqlite3 * | getDatabase (const string &path) |
static string | getCreatedDate () |
Private Member Functions | |
DatabaseConnector (const string &path) | |
Private Attributes | |
sqlite3 * | db |
Static Private Attributes | |
static DatabaseConnector * | connection |
static string | databasePath |
static bool | successfulOpen |
Maintains a connection to an SQLite database.
Definition at line 40 of file DatabaseConnector.h.
virtual casa::DatabaseConnector::~DatabaseConnector | ( | ) | [virtual] |
casa::DatabaseConnector::DatabaseConnector | ( | const string & | path | ) | [private] |
static string casa::DatabaseConnector::getCreatedDate | ( | ) | [static] |
static sqlite3* casa::DatabaseConnector::getDatabase | ( | const string & | path | ) | [static] |
DatabaseConnector* casa::DatabaseConnector::connection [static, private] |
Definition at line 47 of file DatabaseConnector.h.
string casa::DatabaseConnector::databasePath [static, private] |
Definition at line 48 of file DatabaseConnector.h.
sqlite3* casa::DatabaseConnector::db [private] |
Definition at line 49 of file DatabaseConnector.h.
bool casa::DatabaseConnector::successfulOpen [static, private] |
Definition at line 50 of file DatabaseConnector.h.