![]() |
ATLAS Offline Software
|
Description: Definition of the generic database object handle. More...
#include <StorageSvc/DbHandleBase.h>
Public Member Functions | |
| T * | operator-> () |
| Dereference operator. | |
| const T * | operator-> () const |
| bool | operator! () const |
| Validity check through operator NOT. | |
| const T * | ptr () const |
| Access to underlying object. | |
| T * | ptr () |
| bool | isValid () const |
| Validity check (Objy like) | |
| const DbType & | type () const |
| Inquire storage type of the handle. | |
Protected Types | |
| typedef T | _DataType |
| Data type definition. | |
| typedef DbHandleBase< _DataType > | Base |
| Data type definition. | |
Protected Member Functions | |
| ~DbHandleBase () | |
| Standard destructor. | |
| DbHandleBase () | |
| Standard constructor. | |
| DbHandleBase (const DbHandleBase &)=delete | |
| DbHandleBase (DbHandleBase &&)=delete | |
| DbHandleBase & | operator= (const DbHandleBase &)=delete |
| DbHandleBase & | operator= (DbHandleBase &&)=delete |
| void | setType (const DbType &typ) |
| Set handle type. | |
| void | setPtr (T *ptr) |
| Set data pointer. | |
Protected Attributes | |
| T * | m_ptr |
| Data member: Object pointer. Sub-classes need access on re-assignment. | |
| DbType | m_type |
| Data member: Technology type. Sub-classes need access on re-assignment. | |
Description: Definition of the generic database object handle.
Definition at line 31 of file DbHandleBase.h.
|
protected |
Data type definition.
Definition at line 34 of file DbHandleBase.h.
|
protected |
Data type definition.
Definition at line 36 of file DbHandleBase.h.
|
inlineprotected |
Standard destructor.
Definition at line 43 of file DbHandleBase.h.
|
inlineprotected |
Standard constructor.
Definition at line 45 of file DbHandleBase.h.
|
protecteddelete |
|
protecteddelete |
|
inline |
|
inline |
Validity check through operator NOT.
Definition at line 63 of file DbHandleBase.h.
|
inline |
|
inline |
Definition at line 61 of file DbHandleBase.h.
|
protecteddelete |
|
protecteddelete |
|
inline |
Definition at line 66 of file DbHandleBase.h.
|
inline |
|
inlineprotected |
Set data pointer.
Definition at line 56 of file DbHandleBase.h.
|
inlineprotected |
Set handle type.
Definition at line 54 of file DbHandleBase.h.
|
inline |
|
protected |
Data member: Object pointer. Sub-classes need access on re-assignment.
Definition at line 38 of file DbHandleBase.h.
|
protected |
Data member: Technology type. Sub-classes need access on re-assignment.
Definition at line 40 of file DbHandleBase.h.