DatabaseWrapper Class Reference
#include <DatabaseTransaction.h>
Inheritance diagram for DatabaseWrapper:
Public Member Functions | |
DatabaseWrapper (const string &db_file) SSRC_DECL_THROW(DatabaseException) | |
virtual | ~DatabaseWrapper () |
void | begin_transaction () SSRC_DECL_THROW(DatabaseException) |
void | rollback_transaction () SSRC_DECL_THROW(DatabaseException) |
void | end_transaction () SSRC_DECL_THROW(DatabaseException) |
Protected Attributes | |
Database | _database |
Friends | |
class | DatabaseTransaction |
Detailed Description
Definition at line 36 of file DatabaseTransaction.h.
Constructor & Destructor Documentation
DatabaseWrapper::DatabaseWrapper | ( | const string & | db_file | ) | [inline, explicit] |
Definition at line 43 of file DatabaseTransaction.h.
virtual DatabaseWrapper::~DatabaseWrapper | ( | ) | [inline, virtual] |
Definition at line 47 of file DatabaseTransaction.h.
Member Function Documentation
void DatabaseWrapper::begin_transaction | ( | ) | [inline] |
Definition at line 49 of file DatabaseTransaction.h.
References _database.
void DatabaseWrapper::end_transaction | ( | ) | [inline] |
Definition at line 57 of file DatabaseTransaction.h.
References _database.
void DatabaseWrapper::rollback_transaction | ( | ) | [inline] |
Definition at line 53 of file DatabaseTransaction.h.
References _database.
Friends And Related Function Documentation
friend class DatabaseTransaction [friend] |
Definition at line 38 of file DatabaseTransaction.h.
Member Data Documentation
Database DatabaseWrapper::_database [protected] |
Definition at line 39 of file DatabaseTransaction.h.
Referenced by begin_transaction(), end_transaction(), and rollback_transaction().
The documentation for this class was generated from the following file:
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.