Savarese Software Research Corporation
DatabaseWrapper Class Reference

#include <DatabaseTransaction.h>

Inheritance diagram for DatabaseWrapper:

List of all members.

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


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

Definition at line 49 of file DatabaseTransaction.h.

References _database.

Definition at line 57 of file DatabaseTransaction.h.

References _database.

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:

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.