The Gaudi Framework
v30r3 (a5ef0a68)
|
Embedded class defining a symbolic link Note: No copy constructor; bitwise copy (done by the compiler) is just fine. More...
#include <GaudiKernel/LinkManager.h>
Public Member Functions | |
Link (long id, std::string path, DataObject *pObject=nullptr) | |
Standard constructor. More... | |
Link ()=default | |
Standard constructor. More... | |
void | set (long id, std::string path, DataObject *pObject) |
Update the link content. More... | |
bool | operator== (const Link &link) const |
Equality operator: check paths only. More... | |
void | setObject (const DataObject *pObject) |
Update object pointer. More... | |
const DataObject * | object () const |
Const access to data object. More... | |
DataObject * | object () |
const std::string & | path () const |
Access to path of object. More... | |
long | ID () const |
Link identifier. More... | |
IOpaqueAddress * | address () |
Access to the object's address. More... | |
Private Attributes | |
std::string | m_path |
DataObject is a friend. More... | |
DataObject * | m_pObject = nullptr |
Pointer to object behind the link. More... | |
long | m_id = INVALID |
Link ID. More... | |
Embedded class defining a symbolic link Note: No copy constructor; bitwise copy (done by the compiler) is just fine.
Definition at line 32 of file LinkManager.h.
|
inline |
Standard constructor.
Definition at line 45 of file LinkManager.h.
|
default |
Standard constructor.
IOpaqueAddress * LinkManager::Link::address | ( | ) |
Access to the object's address.
Access to the object's address from the link.
Definition at line 15 of file LinkManager.cpp.
|
inline |
|
inline |
Const access to data object.
Definition at line 63 of file LinkManager.h.
|
inline |
Definition at line 64 of file LinkManager.h.
|
inline |
Equality operator: check paths only.
Definition at line 59 of file LinkManager.h.
|
inline |
|
inline |
Update the link content.
Definition at line 52 of file LinkManager.h.
|
inline |
Update object pointer.
Definition at line 61 of file LinkManager.h.
|
private |
Link ID.
Definition at line 41 of file LinkManager.h.
|
private |
DataObject is a friend.
String containing path of symbolic link
Definition at line 37 of file LinkManager.h.
|
private |
Pointer to object behind the link.
Definition at line 39 of file LinkManager.h.