28 return s_newInstance ? (*s_newInstance)() :
new LinkManager();
49 if ( (*i)->object() == pObject ) {
59 if ( 0 != path.length() ) {
61 if ( (*i)->path() ==
path ) {
75 if ( 0 != pO && pO == pObject ) {
78 bool same_path = lnk->
path() ==
path;
80 if ( 0 != pObject && pObject != pO ) {
97 if ( (*i)->object() == pObject ) {
111 if ( (*i)->path() ==
path ) {
const std::string & path() const
Access to path of object.
long addLink(const std::string &path, const DataObject *pObject) const
Add link by object reference and path.
LinkVector m_linkVector
The vector containing all links which are non-tree like.
IRegistry * registry() const
Get pointer to Registry.
static void setInstantiator(LinkManager *(*newInstance)())
Assign new instantiator.
virtual IOpaqueAddress * address()
Access to the object's address.
void setObject(const DataObject *pObject)
Update object pointer.
void clearLinks()
Remove all possibly existing symbolic links.
Link * link(long id)
Retrieve symbolic link identified by ID.
static LinkManager * newInstance()
Static instantiation.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
virtual IOpaqueAddress * address() const =0
Retrieve opaque storage address.
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
long removeLink(const DataObject *pObject) const
Remove link by object reference.
long ID() const
Link identifier.
Embedded class defining a symbolic link Note: No copy constructor; bitwise copy (done by the compiler...
Opaque address interface definition.
LinkManager()
Standard Constructor.
A DataObject is the base class of any identifiable object on any data store.
DataObject * m_pObject
Pointer to object behind the link.
A LinkManager is the object aggregated into a DataObject, which is responsible for the handling of no...
virtual ~LinkManager()
Standard Destructor.
DataObject * object() const
Const access to data object.