CMS 3D CMS Logo

Public Member Functions | Public Attributes

ora::DatabaseImpl Class Reference

List of all members.

Public Member Functions

 DatabaseImpl ()
 DatabaseImpl (boost::shared_ptr< ConnectionPool > &connectionPool)
 ~DatabaseImpl ()

Public Attributes

std::auto_ptr< DatabaseSessionm_session
std::auto_ptr< Transactionm_transaction

Detailed Description

Definition at line 15 of file Database.cc.


Constructor & Destructor Documentation

ora::DatabaseImpl::DatabaseImpl ( ) [inline]

Definition at line 17 of file Database.cc.

References m_session, and m_transaction.

                        {
        m_session.reset( new DatabaseSession );
        m_transaction.reset( new Transaction( *m_session ));
      }

ora::DatabaseImpl::DatabaseImpl ( boost::shared_ptr< ConnectionPool > &  connectionPool) [inline]

Definition at line 24 of file Database.cc.

References m_session, and m_transaction.

                        {
        m_session.reset( new DatabaseSession( connectionPool ) );
        m_transaction.reset( new Transaction( *m_session )) ;
      }
      
ora::DatabaseImpl::~DatabaseImpl ( ) [inline]

Definition at line 31 of file Database.cc.


Member Data Documentation

Definition at line 34 of file Database.cc.

Referenced by DatabaseImpl().

Definition at line 35 of file Database.cc.

Referenced by DatabaseImpl().