![]() |
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. | |
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. | |
Definition of the DbConnection class.
The connection holds data specific to dealing with one type of Database.
Definition at line 25 of file DbConnection.h.
|
inline |
|
inline |
|
default |
Standard destructor.
|
inline |
|
inline |
|
inline |
Definition at line 59 of file DbConnection.h.
|
inline |
|
delete |
|
inline |
Release token: Decrease reference count and eventually delete.
Definition at line 48 of file DbConnection.h.
|
inline |
|
private |
True handle.
Definition at line 34 of file DbConnection.h.
|
private |
Name of this connection.
Definition at line 32 of file DbConnection.h.
|
private |
Reference count.
Definition at line 28 of file DbConnection.h.
|
private |
Connection type.
Definition at line 30 of file DbConnection.h.