ssrc::wispers::database::Database Class Reference
#include <Database.h>
Public Member Functions | |
| Database (const string &db_name=":memory:") | |
| prepared_statement_ptr | prepare (const string &statement) |
| void | execute (const string &statement) |
| bool | auto_commit () |
| void | begin_transaction () |
| void | rollback_transaction () |
| void | end_transaction () |
Detailed Description
Definition at line 308 of file Database.h.
Constructor & Destructor Documentation
| ssrc::wispers::database::Database::Database | ( | const string & | db_name = ":memory:" | ) | [inline, explicit] |
Definition at line 318 of file Database.h.
References _database().
Member Function Documentation
| bool ssrc::wispers::database::Database::auto_commit | ( | ) | [inline] |
Definition at line 349 of file Database.h.
References _database().
| void ssrc::wispers::database::Database::begin_transaction | ( | ) | [inline] |
Definition at line 353 of file Database.h.
| void ssrc::wispers::database::Database::end_transaction | ( | ) | [inline] |
Definition at line 361 of file Database.h.
| void ssrc::wispers::database::Database::execute | ( | const string & | statement | ) | [inline] |
Definition at line 335 of file Database.h.
References _database().
| prepared_statement_ptr ssrc::wispers::database::Database::prepare | ( | const string & | statement | ) | [inline] |
Definition at line 329 of file Database.h.
References _database().
| void ssrc::wispers::database::Database::rollback_transaction | ( | ) | [inline] |
Definition at line 357 of file Database.h.
The documentation for this class was generated from the following file:
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.