ATLAS Offline Software
|
#include <TPObjRef.h>
Classes | |
class | typeID_t |
Public Member Functions | |
TPObjRef () | |
Default constructor - generates and empty reference (like a NULL pointer) More... | |
TPObjRef (const typeID_t &typeID, int index) | |
Constructor with parameters. More... | |
bool | isNull () const |
Tests if the reference is NULL. More... | |
unsigned | typeID () const |
returns the type ID (as integer) of the referenced object More... | |
unsigned short | topLevelCnvID () const |
returns the ID if the top-level converter for the referenced object More... | |
unsigned | index () const |
returns the position of the referenced object in the storage vector More... | |
Protected Attributes | |
typeID_t | m_typeID |
the type ID of the referenced object More... | |
unsigned | m_index |
the position of the referenced object in the storage vecto More... | |
This class is an object reference used in Athena persistent data model. It replaces transient pointers and can also replace embedding and inheritance. Works only inside a single top-level persistent object or group of objects created by a given AthenaPool converter.
Definition at line 20 of file TPObjRef.h.
|
inline |
Default constructor - generates and empty reference (like a NULL pointer)
Definition at line 56 of file TPObjRef.h.
|
inline |
returns the position of the referenced object in the storage vector
Definition at line 77 of file TPObjRef.h.
|
inline |
Tests if the reference is NULL.
Definition at line 68 of file TPObjRef.h.
|
inline |
returns the ID if the top-level converter for the referenced object
Definition at line 74 of file TPObjRef.h.
|
inline |
returns the type ID (as integer) of the referenced object
Definition at line 71 of file TPObjRef.h.
|
protected |
the position of the referenced object in the storage vecto
Definition at line 81 of file TPObjRef.h.
|
protected |
the type ID of the referenced object
Definition at line 80 of file TPObjRef.h.