casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
casa::DatabaseConnector Class Reference

Maintains a connection to an SQLite database. More...

#include <DatabaseConnector.h>

List of all members.

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

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

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.

Definition at line 50 of file DatabaseConnector.h.


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