![]() |
ATLAS Offline Software
|
Definition of the DbConnection class. More...
#include <StorageSvc/DbConnection.h>
Public Member Functions | |
| DbConnection (int typ, const std::string &nam, void *hdl) | |
| Constructor with initializing arguments. | |
| DbConnection (const DbConnection &c) | |
| Copy Constructor. | |
| virtual | ~DbConnection () |
| Standard destructor. | |
| DbConnection & | operator= (const DbConnection &)=delete |
| int | release () |
| Release token: Decrease reference count and eventually delete. | |
| int | addRef () |
| Increase reference count. | |
| virtual void * | handle () |
| Access object identifier. | |
| virtual const void * | handle () const |
| virtual const std::string & | name () const |
| Access Database identifier. | |
| virtual 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. | |
| void * | m_handle |
| True handle. | |
Definition of the DbConnection class.
The connection holds data specific to dealing with one type of Database.
This is NOT a public class...Let's see if there is anyone out there capable of respecting this.
Definition at line 30 of file DbConnection.h.
|
inline |
Constructor with initializing arguments.
Definition at line 42 of file DbConnection.h.
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Access object identifier.
Implements pool::DatabaseConnection.
Definition at line 65 of file DbConnection.h.
|
inlinevirtual |
|
inlinevirtual |
Access Database identifier.
Implements pool::DatabaseConnection.
Definition at line 68 of file DbConnection.h.
|
delete |
|
inline |
Release token: Decrease reference count and eventually delete.
Definition at line 55 of file DbConnection.h.
|
inlinevirtual |
Access technoliogy type.
Implements pool::DatabaseConnection.
Definition at line 70 of file DbConnection.h.
|
private |
True handle.
Definition at line 39 of file DbConnection.h.
|
private |
Name of this connection.
Definition at line 37 of file DbConnection.h.
|
private |
Reference count.
Definition at line 33 of file DbConnection.h.
|
private |
Connection type.
Definition at line 35 of file DbConnection.h.