20 template <
class TO,
class FROM>
24 return access( from, &to ) ?
dynamic_cast<TO*
>( to ) :
nullptr;
51 return tar !=
nullptr;
67 return *to !=
nullptr;
Namespace for basic object handling within container classes.
const std::string & path() const
Access to path of object.
virtual long index() const
Distance in the parent container.
Data provider interface definition.
const ObjectContainerBase * parent() const
Access to parent object.
IRegistry * registry() const
Get pointer to Registry.
LinkManager * linkMgr() const
Retrieve Link manager.
virtual ContainedObject * containedObject(long dist) const =0
Pointer to an object of a given distance.
void setObject(const DataObject *pObject)
Update object pointer.
Link * link(long id)
Retrieve symbolic link identified by ID.
virtual IDataProviderSvc * dataSvc() const =0
Retrieve pointer to Transient Store.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
bool access(const ContainedObject *from, ContainedObject **to)
All classes that their objects may be contained in an LHCb ObjectContainer (e.g.
ObjectContainerBase is the base class for Gaudi container classes.
const DataObject * object() const
Const access to data object.
Embedded class defining a symbolic link Note: No copy constructor; bitwise copy (done by the compiler...
A DataObject is the base class of any identifiable object on any data store.
A LinkManager is the object aggregated into a DataObject, which is responsible for the handling of no...
TO * reference(FROM *from)
virtual StatusCode retrieveObject(IRegistry *pDirectory, const std::string &path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.