ATLAS Offline Software
|
#include <StorageSvc/DbConnection.h>
Public Member Functions | |
DbConnection (int typ, const std::string &nam, void *hdl) | |
Constructor with initializing arguments. More... | |
DbConnection (const DbConnection &c) | |
Copy Constructor. More... | |
virtual | ~DbConnection () |
Standard destructor. More... | |
DbConnection & | operator= (const DbConnection &)=delete |
int | release () |
Release token: Decrease reference count and eventually delete. More... | |
int | addRef () |
Increase reference count. More... | |
virtual void * | handle () |
Access object identifier. More... | |
virtual const void * | handle () const |
virtual const std::string & | name () const |
Access Database identifier. More... | |
virtual int | type () const |
Access technoliogy type. More... | |
Private Attributes | |
int | m_refCount |
Reference count. More... | |
int | m_type |
Connection type. More... | |
std::string | m_name |
Name of this connection. More... | |
void * | m_handle |
True handle. More... | |
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 |
|
inline |
Copy Constructor.
Definition at line 46 of file DbConnection.h.
|
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.