![]() |
ATLAS Offline Software
|
Base for the DbAccessObj template (see below) provides reference counting and common members and methods but no container functionality (also used directly by DbContainerObj as it does not hold subcontainers). More...
#include <StorageSvc/DbAccessObj.h>
Public Member Functions | |
| DbAccessObjBase (const std::string &n, Io::IoFlag m, const DbType &t, ITechFactory *s=0) | |
| Constructor with initializing arguments. | |
| virtual | ~DbAccessObjBase () |
| Standard destructor. | |
| const std::string & | name () const |
| Access the instance name. | |
| void | setName (const std::string &n) |
| Access the instance name. | |
| Io::IoFlag | mode () const |
| Access mode. | |
| void | setMode (Io::IoFlag m) |
| Set Access mode. | |
| const DbType & | type () const |
| const ITechFactory * | techFactory () const |
| Allow access to the Database implementation. | |
| ITechFactory * | techFactory () |
| int | refCount () const |
| Access reference counter. | |
| int | addRef () const |
| Add reference count. | |
| int | release () const |
| Remove reference count. | |
Private Attributes | |
| std::atomic< int > | m_refCount |
| Reference counter. | |
| Io::IoFlag | m_mode |
| Access mode. | |
| std::string | m_name |
| Name of the instance. | |
| DbType | m_type |
| Database type. | |
| ITechFactory * | m_factory |
| Pointer to specific pool implementation. | |
Base for the DbAccessObj template (see below) provides reference counting and common members and methods but no container functionality (also used directly by DbContainerObj as it does not hold subcontainers).
Definition at line 30 of file DbAccessObj.h.
|
inline |
Constructor with initializing arguments.
Definition at line 45 of file DbAccessObj.h.
|
inlinevirtual |
Standard destructor.
Definition at line 49 of file DbAccessObj.h.
|
inline |
Add reference count.
Definition at line 66 of file DbAccessObj.h.
|
inline |
|
inline |
|
inline |
|
inline |
Remove reference count.
Definition at line 78 of file DbAccessObj.h.
|
inline |
|
inline |
|
inline |
Definition at line 62 of file DbAccessObj.h.
|
inline |
Definition at line 59 of file DbAccessObj.h.
|
private |
Pointer to specific pool implementation.
Definition at line 41 of file DbAccessObj.h.
|
private |
Access mode.
Definition at line 35 of file DbAccessObj.h.
|
private |
Name of the instance.
Definition at line 37 of file DbAccessObj.h.
|
mutableprivate |
Reference counter.
Definition at line 33 of file DbAccessObj.h.
|
private |
Database type.
Definition at line 39 of file DbAccessObj.h.