SqliteMgr Class Reference

This class interfaces between savable managers and an Sqlite database. More...

#include <SqliteMgr.h>

Inheritance diagram for SqliteMgr:

Inheritance graph
[legend]

List of all members.

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 >


Detailed Description

This class interfaces between savable managers and an Sqlite database.

Definition at line 45 of file SqliteMgr.h.


Member Function Documentation

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.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo