casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
casa::DatabaseConnector Class Reference

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 DatabaseConnectorconnection
 
static string databasePath
 
static bool successfulOpen
 

Detailed Description

Maintains a connection to an SQLite database.

Definition at line 40 of file DatabaseConnector.h.

Constructor & Destructor Documentation

virtual casa::DatabaseConnector::~DatabaseConnector ( )
virtual
casa::DatabaseConnector::DatabaseConnector ( const string &  path)
private

Member Function Documentation

static string casa::DatabaseConnector::getCreatedDate ( )
static
static sqlite3* casa::DatabaseConnector::getDatabase ( const string &  path)
static

Member Data Documentation

DatabaseConnector* casa::DatabaseConnector::connection
staticprivate

Definition at line 47 of file DatabaseConnector.h.

string casa::DatabaseConnector::databasePath
staticprivate

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
staticprivate

Definition at line 50 of file DatabaseConnector.h.


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