![]() |
ATLAS Offline Software
|
Definition of the DbConnection class. More...
#include <StorageSvc/DbConnection.h>
Public Member Functions | |
| DbConnection (int typ, const std::string &nam, DbDatabaseObj *hdl) | |
| Constructor with initializing arguments. | |
| DbConnection (const DbConnection &c) | |
| Copy Constructor. | |
| ~DbConnection ()=default | |
| Standard destructor. | |
| DbConnection & | operator= (const DbConnection &)=delete |
| int | release () |
| Release token: Decrease reference count and eventually delete. | |
| int | addRef () |
| Increase reference count. | |
| DbDatabaseObj * | handle () |
| Access object identifier. | |
| const DbDatabaseObj * | handle () const |
| const std::string & | name () const |
| Access Database identifier. | |
| int | type () const |
| Access technoliogy type. | |
| DbConnection (const std::string &sourceDb) | |
| ~DbConnection () | |
| bool | isOpen () const |
| cool::IDatabasePtr | dbPtr () const |
| DbConnection (const std::string &sourceDb, const bool isCoraCool=false) | |
| ~DbConnection () | |
| bool | isOpen () const |
| cool::IDatabasePtr | dbPtr () const |
| CoraCoolDatabasePtr | coraCoolPtr () const |
Private Attributes | |
| int | m_refCount |
| Reference count. | |
| int | m_type |
| Connection type. | |
| std::string | m_name |
| Name of this connection. | |
| DbDatabaseObj * | m_handle |
| True handle. | |
| coral::ConnectionService | m_coralsvc {} |
| cool::Application | m_coolapp |
| const cool::IDatabaseSvc & | m_dbSvc |
| cool::IDatabasePtr | m_sourceDbPtr {} |
| bool | m_isOpen {} |
| CoraCoolDatabasePtr | m_sourceCoraPtr |
Definition of the DbConnection class.
The connection holds data specific to dealing with one type of Database.
Definition at line 18 of file DbConnection.h.
|
inline |
|
inline |
|
default |
Standard destructor.
Definition at line 87 of file MakeReferenceFile.cxx.
| DbConnection::DbConnection | ( | const std::string & | sourceDb | ) |
Definition at line 58 of file MakeReferenceFile.cxx.
| DbConnection::~DbConnection | ( | ) |
Definition at line 356 of file openCoraCool.cxx.
| DbConnection::~DbConnection | ( | ) |
|
inline |
| CoraCoolDatabasePtr DbConnection::coraCoolPtr | ( | ) | const |
Definition at line 400 of file openCoraCool.cxx.
| cool::IDatabasePtr DbConnection::dbPtr | ( | ) | const |
Definition at line 97 of file MakeReferenceFile.cxx.
| cool::IDatabasePtr DbConnection::dbPtr | ( | ) | const |
|
inline |
|
inline |
Definition at line 52 of file DbConnection.h.
| bool DbConnection::isOpen | ( | ) | const |
Definition at line 102 of file MakeReferenceFile.cxx.
| bool DbConnection::isOpen | ( | ) | const |
|
inline |
|
delete |
|
inline |
Release token: Decrease reference count and eventually delete.
Definition at line 41 of file DbConnection.h.
|
inline |
|
private |
Definition at line 51 of file MakeReferenceFile.cxx.
|
private |
Definition at line 50 of file MakeReferenceFile.cxx.
|
private |
Definition at line 52 of file MakeReferenceFile.cxx.
|
private |
True handle.
Definition at line 27 of file DbConnection.h.
|
private |
Definition at line 54 of file MakeReferenceFile.cxx.
|
private |
Name of this connection.
Definition at line 25 of file DbConnection.h.
|
private |
Reference count.
Definition at line 21 of file DbConnection.h.
|
private |
Definition at line 345 of file openCoraCool.cxx.
|
private |
Definition at line 53 of file MakeReferenceFile.cxx.
|
private |
Connection type.
Definition at line 23 of file DbConnection.h.