Go to the documentation of this file.
27 if ( pReg )
return pReg->
address();
47 if ( i->object() == pObject )
return i;
55 if ( 0 !=
path.length() ) {
57 if ( i->path() ==
path )
return i;
68 if ( pO && pO == pObject )
return n;
69 if ( lnk->path() ==
path ) {
70 if ( pObject && pObject != pO ) { lnk->setObject(
const_cast<DataObject*
>( pObject ) ); }
84 if ( ( *i )->object() == pObject ) {
98 if ( ( *i )->path() ==
path ) {
LinkManager()=default
Standard Constructor.
DataObject * m_pObject
Pointer to object behind the link.
Embedded class defining a symbolic link Note: No copy constructor; bitwise copy (done by the compiler...
void clearLinks()
Remove all possibly existing symbolic links.
IOpaqueAddress * address()
Access to the object's address.
long removeLink(const DataObject *pObject) const
Remove link by object reference.
static void setInstantiator(LinkManager *(*newInstance)())
Assign new instantiator.
static LinkManager * newInstance()
Static instantiation.
virtual ~LinkManager()
Standard Destructor.
virtual IOpaqueAddress * address() const =0
Retrieve opaque storage address.
long addLink(const std::string &path, const DataObject *pObject) const
Add link by object reference and path.
std::vector< Link * > m_linkVector
@ TODO: replace by std::vector<std::unique_ptr<Link>> once ROOT does 'automatic' schema conversion fr...
Link * link(long id)
Retrieve symbolic link identified by ID.
IRegistry * registry() const
Get pointer to Registry.