#include <GaudiKernel/RegistryEntry.h>
Inheritance diagram for RegistryEntry:

Public Methods | |
| void | assemblePath (std::string& buffer) const |
| Recursive helper to assemble the full path name of the entry. More... | |
| const IDataDirectory* | i_find ( const IDataDirectory* pDirectory ) const |
| Internal method to retrieve data directory. More... | |
| const IDataDirectory* | i_find ( const std::string& path ) const |
| Internal method to retrieve data directory. More... | |
| const RegistryEntry* | i_findLeaf (const std::string& path) const |
| Internal method to locate object entry. More... | |
| const RegistryEntry* | i_findLeaf (const DataObject* pObject) const |
| Internal method to locate object entry. More... | |
| RegistryEntry* | i_add (const std::string& name) |
| Internal method to add entries. More... | |
| RegistryEntry (const std::string& path, RegistryEntry* parent = 0) | |
| Standard Constructor. More... | |
| virtual | ~RegistryEntry () |
| Standard Destructor. More... | |
| virtual unsigned long | release () |
| Reference the object. More... | |
| virtual unsigned long | addRef () |
| Dereference the object. More... | |
| const std::string& | name () const |
| Retrieve full path name of the entry. More... | |
| void | setStore (TransientStore* s) |
| Set the transient data store. More... | |
| virtual TransientStore* | store () |
| Retrieve pointer to Transient Store. More... | |
| virtual const TransientStore* | store () const |
| Retrieve pointer to Transient Store. More... | |
| virtual DataObject* | object () |
| Retrive object behind the link. More... | |
| virtual const DataObject* | object () const |
| Retrive object behind the link. More... | |
| virtual const CLID& | clID () const |
| Retrieve class information from link: needed to resolve the link properly when conversion is an issue. More... | |
| virtual IOpaqueAddress* | address () |
| Retrieve opaque storage address. More... | |
| virtual const IOpaqueAddress* | address () const |
| Retrieve opaque storage address. More... | |
| virtual IDataDirectory* | parent () |
| Pointer to parent directory entry. More... | |
| virtual const IDataDirectory* | parent () const |
| Pointer to parent directory entry. More... | |
| virtual RegistryEntry* | parentEntry () |
| Pointer to parent registry entry. More... | |
| virtual bool | isSoft () const |
| Is the link soft or hard. More... | |
| virtual int | size () const |
| Return the size of the container(=number of objects). More... | |
| virtual bool | isEmpty () const |
| Simple check if the Container is empty. More... | |
| virtual Iterator | begin () |
| Return starting point for container iteration. More... | |
| virtual ConstIterator | begin () const |
| Return starting point for container iteration. More... | |
| virtual Iterator | end () |
| Return end elemtn if the container. More... | |
| virtual ConstIterator | end () const |
| Return end elemtn if the container. More... | |
| virtual Iterator | next ( Iterator iter ) |
| virtual ConstIterator | next ( ConstIterator iter ) const |
| virtual ConstIterator | next ( Iterator iter ) const |
| virtual IDataDirectory* | find ( const IDataDirectory* obj ) |
| Try to find an object identified by its pointer. More... | |
| virtual const IDataDirectory* | find ( const IDataDirectory* obj ) const |
| Try to find an object identified by its pointer. More... | |
| virtual IDataDirectory* | find ( const std::string& path ) |
| Try to find an object identified by its relative name to the directory. More... | |
| virtual const IDataDirectory* | find ( const std::string& path ) const |
| Try to find an object identified by its relative name to the directory. More... | |
| RegistryEntry* | findLeaf (const std::string& path) |
| Find identified leaf in this registry node. More... | |
| const RegistryEntry* | findLeaf (const std::string& path) const |
| Find identified leaf in this registry node. More... | |
| RegistryEntry* | findLeaf (const DataObject* key) |
| Find identified leaf in this registry node. More... | |
| const RegistryEntry* | findLeaf (const DataObject* key) const |
| Find identified leaf in this registry node. More... | |
| void | makeHard (DataObject* pObject) |
| Initialize link as hard link. More... | |
| void | makeHard (IOpaqueAddress* pAddress) |
| Initialize link as hard link. More... | |
| void | makeSoft (DataObject* pObject) |
| Initialize link as soft link. More... | |
| void | makeSoft (IOpaqueAddress* pAddress) |
| Initialize link as soft link. More... | |
| virtual const std::string& | location () const |
| Name of the location this object resides in. More... | |
| virtual const std::string& | fullpath () const |
| Name of the full path in the data store leading to this object. More... | |
| void | setAddress (IOpaqueAddress* pAddress) |
| Set/Update Opaque address. More... | |
| void | setObject (DataObject* obj) |
| Set/Update object address. More... | |
| RegistryEntry* | findParent (const std::string& path) |
| Return parent object identified by path relative to current node. More... | |
| RegistryEntry* | findParent (DataObject* obj) |
| Return parent object identified by pointer tp object. More... | |
| virtual long | add (const std::string& name, DataObject* pObject, bool is_soft = false) |
| Add entry to data store. More... | |
| virtual long | add (const std::string& name, IOpaqueAddress* pAddress, bool is_soft = false) |
| Add entry to data store. More... | |
| virtual long | remove (const std::string& name) |
| Remove an entry from the store. More... | |
| virtual long | add (IDataDirectory* obj) |
| Add object to the container. More... | |
| virtual long | remove (IDataDirectory* obj) |
| Remove an object from the container. More... | |
| virtual StatusCode | traverseTree (IDataStoreAgent* pAgent, int level = 0) |
| traverse data tree. More... | |
| virtual long | deleteElements () |
| Delete all contained elements. More... | |
Private Types | |
| typedef std::vector<IDataDirectory*> | Store |
| Definition of datastore type. More... | |
Private Attributes | |
| unsigned long | m_refCount |
| Reference counter. More... | |
| bool | m_isSoft |
| Is the link soft or hard? More... | |
| std::string | m_fullpath |
| String containing full path of the object (volatile). More... | |
| std::string | m_path |
| Path name. More... | |
| RegistryEntry* | m_parent |
| Pointer to parent. More... | |
| IOpaqueAddress* | m_address |
| Pointer to opaque address (load info). More... | |
| DataObject* | m_object |
| Pointer to object. More... | |
| TransientStore* | m_transientStore |
| Pointer to hosting transient store. More... | |
| Store | m_store |
| Store of leafs. More... | |
The RegistryEntry represents an entry of the transient data store. The object holds the recipe how to retrieve objects from the persistent world (member IOpaqueAddress) as well as the backward link to the parent entry and the leafs.
Definition at line 32 of file RegistryEntry.h.
|
|
Definition of datastore type.
Definition at line 36 of file RegistryEntry.h. |
|
|
Standard Constructor.
Definition at line 34 of file RegistryEntry.cpp. Referenced by i_add(). |
|
|
Standard Destructor.
Definition at line 55 of file RegistryEntry.cpp. |
|
|
Add object to the container.
Definition at line 185 of file RegistryEntry.cpp. |
|
|
Add entry to data store.
Definition at line 211 of file RegistryEntry.cpp. |
|
|
Add entry to data store.
Definition at line 200 of file RegistryEntry.cpp. Referenced by add(), DataSvc::linkObject(), and DataSvc::registerObject(). |
|
|
Dereference the object.
Reimplemented from IDataDirectory. Definition at line 85 of file RegistryEntry.h. Referenced by RegistryEntry(). |
|
|
Retrieve opaque storage address.
Reimplemented from IDataDirectory. Definition at line 119 of file RegistryEntry.h. |
|
|
Retrieve opaque storage address.
Reimplemented from IDataDirectory. Definition at line 115 of file RegistryEntry.h. Referenced by add(), DataSvc::loadObject(), and DataSvc::updateRegistryEntry(). |
|
|
Recursive helper to assemble the full path name of the entry.
Definition at line 361 of file RegistryEntry.cpp. |
|
|
Return starting point for container iteration.
Reimplemented from IContainer. Definition at line 151 of file RegistryEntry.h. |
|
|
Return starting point for container iteration.
Reimplemented from IContainer. Definition at line 147 of file RegistryEntry.h. |
|
|
Retrieve class information from link: needed to resolve the link properly when conversion is an issue.
Reimplemented from IDataDirectory. Definition at line 127 of file RegistryEntry.cpp. |
|
|
Delete all contained elements.
Reimplemented from IContainer. Definition at line 222 of file RegistryEntry.cpp. Referenced by ~RegistryEntry(). |
|
|
Return end elemtn if the container.
Reimplemented from IContainer. Definition at line 159 of file RegistryEntry.h. |
|
|
Return end elemtn if the container.
Reimplemented from IContainer. Definition at line 155 of file RegistryEntry.h. |
|
|
Try to find an object identified by its relative name to the directory.
Reimplemented from IDataDirectory. Definition at line 189 of file RegistryEntry.h. |
|
|
Try to find an object identified by its relative name to the directory.
Reimplemented from IDataDirectory. Definition at line 184 of file RegistryEntry.h. |
|
|
Try to find an object identified by its pointer.
Reimplemented from IDataDirectory. Definition at line 180 of file RegistryEntry.h. |
|
|
Try to find an object identified by its pointer.
Reimplemented from IDataDirectory. Definition at line 175 of file RegistryEntry.h. |
|
|
Find identified leaf in this registry node.
Definition at line 207 of file RegistryEntry.h. |
|
|
Find identified leaf in this registry node.
Definition at line 202 of file RegistryEntry.h. |
|
|
Find identified leaf in this registry node.
Definition at line 198 of file RegistryEntry.h. |
|
|
Find identified leaf in this registry node.
Definition at line 193 of file RegistryEntry.h. Referenced by DataSvc::findObject(), findParent(), DataSvc::retrieveEntry(), and DataSvc::unregisterObject(). |
|
|
Return parent object identified by pointer tp object.
Definition at line 322 of file RegistryEntry.cpp. |
|
|
Return parent object identified by path relative to current node.
Definition at line 307 of file RegistryEntry.cpp. |
|
|
Name of the full path in the data store leading to this object.
Reimplemented from IDataDirectory. Definition at line 369 of file RegistryEntry.cpp. |
|
|
Internal method to add entries.
Definition at line 169 of file RegistryEntry.cpp. Referenced by add(). |
|
|
Internal method to retrieve data directory.
Definition at line 238 of file RegistryEntry.cpp. |
|
|
Internal method to retrieve data directory.
Definition at line 232 of file RegistryEntry.cpp. Referenced by find(). |
|
|
Internal method to locate object entry.
Definition at line 285 of file RegistryEntry.cpp. |
|
|
Internal method to locate object entry.
Definition at line 251 of file RegistryEntry.cpp. Referenced by findLeaf(), and i_findLeaf(). |
|
|
Simple check if the Container is empty.
Reimplemented from IContainer. Definition at line 143 of file RegistryEntry.h. Referenced by DataSvc::unregisterObject(). |
|
|
Is the link soft or hard.
Reimplemented from IDataDirectory. Definition at line 135 of file RegistryEntry.h. Referenced by add(), and DataSvc::updateRegistryEntry(). |
|
|
Name of the location this object resides in.
Reimplemented from IDataDirectory. Definition at line 355 of file RegistryEntry.cpp. |
|
|
Initialize link as hard link.
Definition at line 95 of file RegistryEntry.cpp. |
|
|
Initialize link as hard link.
Definition at line 83 of file RegistryEntry.cpp. Referenced by add(). |
|
|
Initialize link as soft link.
Definition at line 77 of file RegistryEntry.cpp. |
|
|
Initialize link as soft link.
Definition at line 68 of file RegistryEntry.cpp. |
|
|
Retrieve full path name of the entry.
Reimplemented from IDataDirectory. Definition at line 89 of file RegistryEntry.h. |
|
|
Reimplemented from IContainer. Definition at line 171 of file RegistryEntry.h. |
|
|
Definition at line 167 of file RegistryEntry.h. |
|
|
Reimplemented from IContainer. Definition at line 163 of file RegistryEntry.h. |
|
|
Retrive object behind the link.
Reimplemented from IDataDirectory. Definition at line 109 of file RegistryEntry.h. |
|
|
Retrive object behind the link.
Reimplemented from IDataDirectory. Definition at line 105 of file RegistryEntry.h. Referenced by DataSvc::findObject(), DataSvc::registerObject(), DataSvc::retrieveEntry(), DataSvc::retrieveObject(), DataSvc::unregisterObject(), and DataSvc::updateObject(). |
|
|
Pointer to parent directory entry.
Reimplemented from IDataDirectory. Definition at line 127 of file RegistryEntry.h. |
|
|
Pointer to parent directory entry.
Reimplemented from IDataDirectory. Definition at line 123 of file RegistryEntry.h. |
|
|
Pointer to parent registry entry.
Definition at line 131 of file RegistryEntry.h. Referenced by DataSvc::clearSubTree(), and findParent(). |
|
|
Reference the object.
Reimplemented from IDataDirectory. Definition at line 118 of file RegistryEntry.cpp. Referenced by remove(). |
|
|
Remove an object from the container.
Definition at line 137 of file RegistryEntry.cpp. |
|
|
Remove an entry from the store.
Definition at line 151 of file RegistryEntry.cpp. Referenced by DataSvc::clearSubTree(), DataSvc::unlinkObject(), and DataSvc::unregisterObject(). |
|
|
Set/Update Opaque address.
Definition at line 104 of file RegistryEntry.cpp. Referenced by makeSoft(), and DataSvc::updateRegistryEntry(). |
|
|
Set/Update object address.
Definition at line 111 of file RegistryEntry.cpp. Referenced by DataSvc::loadObject(), makeSoft(), and DataSvc::updateRegistryEntry(). |
|
|
Set the transient data store.
Definition at line 93 of file RegistryEntry.h. Referenced by add(), and TransientStore::operator=(). |
|
|
Return the size of the container(=number of objects).
Reimplemented from IContainer. Definition at line 139 of file RegistryEntry.h. |
|
|
Retrieve pointer to Transient Store.
Reimplemented from IDataDirectory. Definition at line 101 of file RegistryEntry.h. |
|
|
Retrieve pointer to Transient Store.
Reimplemented from IDataDirectory. Definition at line 97 of file RegistryEntry.h. |
|
|
traverse data tree.
Definition at line 337 of file RegistryEntry.cpp. Referenced by DataSvc::traverseSubTree(). |
|
|
Pointer to opaque address (load info).
Definition at line 50 of file RegistryEntry.h. |
|
|
String containing full path of the object (volatile).
Definition at line 44 of file RegistryEntry.h. |
|
|
Is the link soft or hard?
Definition at line 42 of file RegistryEntry.h. |
|
|
Pointer to object.
Definition at line 52 of file RegistryEntry.h. |
|
|
Pointer to parent.
Definition at line 48 of file RegistryEntry.h. |
|
|
Path name.
Definition at line 46 of file RegistryEntry.h. |
|
|
Reference counter.
Definition at line 40 of file RegistryEntry.h. |
|
|
Store of leafs.
Definition at line 56 of file RegistryEntry.h. |
|
|
Pointer to hosting transient store.
Definition at line 54 of file RegistryEntry.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000