#include <SqliteMgr.h>
Public Member Functions | |
void | doInsert (SavableManager *bindable) |
Execute an insertion with the specified savable manager. | |
void | doErase (SavableManager *bindable) |
Execute an erase with the specified savable manager. | |
void | doUpdate (SavableManager *bindable) |
Execute an update with the specified savable manager. | |
void | doSelect (SavableManager *bindable) |
Execute a selection with the specified savable manager. | |
void | doLookup (SavableManager *bindable, FieldPtr field) |
Execute a lookup on the specified field with the specified savable manager. | |
void | doSelectMulti (SelectionMask *mask) |
Execute a selection on multiple entries from the databse with the specified mask. | |
void | doCount (SelectionMask *mask) |
Counts all rows that match this mask. | |
std::string | tableQuery (TableImplPtr table) const |
Returns the query to create the specified table. | |
bool | databasePopulated () |
Whether the database is populated. | |
void | initTable (TableImplPtr table) |
Initialize the specified table. | |
bool | tableValid (TableImplPtr table) |
Whether the table matches out definitions. | |
Friends | |
class | Singleton< SqliteMgr > |
Definition at line 45 of file SqliteMgr.h.
void SqliteMgr::doInsert | ( | SavableManager * | bindable | ) |
Execute an insertion with the specified savable manager.
void SqliteMgr::doErase | ( | SavableManager * | bindable | ) |
Execute an erase with the specified savable manager.
void SqliteMgr::doUpdate | ( | SavableManager * | bindable | ) |
Execute an update with the specified savable manager.
void SqliteMgr::doSelect | ( | SavableManager * | bindable | ) |
Execute a selection with the specified savable manager.
void SqliteMgr::doLookup | ( | SavableManager * | bindable, | |
FieldPtr | field | |||
) |
Execute a lookup on the specified field with the specified savable manager.
void SqliteMgr::doSelectMulti | ( | SelectionMask * | mask | ) |
Execute a selection on multiple entries from the databse with the specified mask.
void SqliteMgr::doCount | ( | SelectionMask * | mask | ) |
Counts all rows that match this mask.
std::string SqliteMgr::tableQuery | ( | TableImplPtr | table | ) | const |
Returns the query to create the specified table.
bool SqliteMgr::databasePopulated | ( | ) |
Whether the database is populated.
void SqliteMgr::initTable | ( | TableImplPtr | table | ) |
Initialize the specified table.
bool SqliteMgr::tableValid | ( | TableImplPtr | table | ) |
Whether the table matches out definitions.