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

Public Types | |
| typedef std::vector<DataStoreItem> | LoadItems |
| Define set of load items. More... | |
Public Methods | |
| virtual CLID | rootEventCLID () const |
| Accessor for root event CLID. More... | |
| virtual std::string | rootEventName () const |
| Name for root Event. More... | |
| virtual StatusCode | clearSubTree ( const std::string& sub_tree_path ) |
| Remove all data objects below the sub tree identified by its full path name. More... | |
| virtual StatusCode | clearSubTree ( DataObject* pObject ) |
| Remove all data objects below the sub tree identified by the object. More... | |
| virtual StatusCode | clearStore () |
| Remove all data objects in the data store. More... | |
| virtual StatusCode | traverseSubTree ( const std::string& sub_tree_path, IDataStoreAgent* pAgent ) |
| Analyse by traversing all data objects below the sub tree identified by its full path name. More... | |
| virtual StatusCode | traverseSubTree ( DataObject* pObject, IDataStoreAgent* pAgent ) |
| Analyse by traversing all data objects below the sub tree. More... | |
| virtual StatusCode | traverseTree ( IDataStoreAgent* pAgent ) |
| Analyse by traversing all data objects in the data store. More... | |
| virtual StatusCode | setRoot ( const std::string& root_name, DataObject* pRootObj ) |
| Initialize data store for new event by giving new event path and root object. More... | |
| virtual StatusCode | setRoot ( const std::string& root_path, IOpaqueAddress* pRootAddr ) |
| Initialize data store for new event by giving new event path and address of root object. More... | |
| virtual StatusCode | setDataLoader ( IConversionSvc* svc ) |
| Pass a default data loader to the service. More... | |
| virtual StatusCode | addPreLoadItem ( const DataStoreItem& item ) |
| Add an item to the preload list. More... | |
| virtual StatusCode | addPreLoadItem ( const std::string& itemPath ) |
| Add an item to the preload list. More... | |
| virtual StatusCode | removePreLoadItem ( const DataStoreItem& item ) |
| Remove an item from the preload list. More... | |
| virtual StatusCode | removePreLoadItem ( const std::string& itemPath ) |
| Add an item to the preload list. More... | |
| virtual StatusCode | resetPreLoad () |
| Clear the preload list. More... | |
| virtual StatusCode | preLoad ( int depth, int load_depth, DataObject* pObject ) |
| Execute one level of preloading and recursively load until the final level is reached. More... | |
| virtual StatusCode | preLoad () |
| load all preload items of the list. More... | |
| virtual StatusCode | registerObject ( const std::string& fullPath, DataObject* pObject ) |
| Register object with the data store. More... | |
| virtual StatusCode | registerObject ( const std::string& parentPath, const std::string& objPath, DataObject* pObject ) |
| Register object with the data store. More... | |
| virtual StatusCode | registerObject ( const std::string& parentPath, int item, DataObject* pObject ) |
| Register object with the data store. More... | |
| virtual StatusCode | registerObject ( DataObject* parentObj, const std::string& objPath, DataObject* pObject ) |
| Register object with the data store. More... | |
| virtual StatusCode | registerObject ( DataObject* parentObj, int item, DataObject* pObject ) |
| Register object with the data store. More... | |
| virtual StatusCode | unregisterObject ( const std::string& fullPath ) |
| Unregister object from the data store. More... | |
| virtual StatusCode | unregisterObject ( const std::string& parentPath, const std::string& objectPath ) |
| Unregister object from the data store. More... | |
| virtual StatusCode | unregisterObject ( const std::string& parentPath, int item ) |
| Unregister object from the data store. More... | |
| virtual StatusCode | unregisterObject ( DataObject* pObject ) |
| Unregister object from the data store. More... | |
| virtual StatusCode | unregisterObject ( DataObject* pObject, const std::string& objectPath ) |
| Unregister object from the data store. More... | |
| virtual StatusCode | unregisterObject ( DataObject* pObject, int item ) |
| Unregister object from the data store. More... | |
| virtual StatusCode | retrieveObject ( IDataDirectory* pDirectory, const std::string& path, DataObject*& pObject ) |
| Retrieve object from data store. More... | |
| virtual StatusCode | retrieveObject ( const std::string& fullPath, DataObject*& pObject ) |
| Retrieve object identified by its full path from the data store. More... | |
| virtual StatusCode | retrieveObject ( const std::string& parentPath, const std::string& objPath, DataObject*& pObject ) |
| Retrieve object from data store. More... | |
| virtual StatusCode | retrieveObject ( const std::string& parentPath, int item, DataObject*& pObject ) |
| Retrieve object from data store. More... | |
| virtual StatusCode | retrieveObject ( DataObject* parentObj, const std::string& objPath, DataObject*& pObject ) |
| Retrieve object from data store. More... | |
| virtual StatusCode | retrieveObject ( DataObject* parentObj, int item, DataObject*& pObject ) |
| Retrieve object from data store. More... | |
| virtual StatusCode | findObject ( const std::string& fullPath, DataObject*& pObject ) |
| Find object identified by its full path in the data store. More... | |
| virtual StatusCode | findObject ( IDataDirectory* pDirectory, const std::string& path, DataObject*& pObject ) |
| Find object identified by its full path in the data store. More... | |
| virtual StatusCode | findObject ( const std::string& parentPath, const std::string& objPath, DataObject*& pObject ) |
| Find object in the data store. More... | |
| virtual StatusCode | findObject ( const std::string& parentPath, int item, DataObject*& pObject ) |
| Find object in the data store. More... | |
| virtual StatusCode | findObject ( DataObject* parentObj, const std::string& objPath, DataObject*& pObject ) |
| Find object in the data store. More... | |
| virtual StatusCode | findObject ( DataObject* parentObj, int item, DataObject*& pObject ) |
| Find object in the data store. More... | |
| virtual StatusCode | updateRegistryEntry ( IOpaqueAddress* pAddress, DataObject* pObj ) |
| Update existing registry entry. More... | |
| virtual StatusCode | linkObject ( IDataDirectory* from, const std::string& objPath, DataObject* to ) |
| Add a link to another object. More... | |
| virtual StatusCode | linkObject ( const std::string& fromPath, const std::string& objPath, DataObject* to ) |
| Add a link to another object. More... | |
| virtual StatusCode | linkObject ( DataObject* from, const std::string& objPath, DataObject* to ) |
| Add a link to another object. More... | |
| virtual StatusCode | linkObject ( const std::string& fullPath, DataObject* to ) |
| Add a link to another object. More... | |
| virtual StatusCode | unlinkObject ( IDataDirectory* from, const std::string& objPath ) |
| Remove a link to another object. More... | |
| virtual StatusCode | unlinkObject ( const std::string& fromPath, const std::string& objPath ) |
| Remove a link to another object. More... | |
| virtual StatusCode | unlinkObject ( DataObject* fromObj, const std::string& objPath ) |
| Remove a link to another object. More... | |
| virtual StatusCode | unlinkObject ( const std::string& fullPath ) |
| Remove a link to another object. More... | |
| virtual StatusCode | updateObject (IDataDirectory* pDirectory ) |
| Update object identified by its directory entry. More... | |
| virtual StatusCode | updateObject ( const std::string& updatePath ) |
| Update object. More... | |
| virtual StatusCode | updateObject ( DataObject* toUpdate ) |
| Update object. More... | |
| virtual StatusCode | updateObject ( const std::string& parentPath, const std::string& updatePath ) |
| Update object. More... | |
| virtual StatusCode | updateObject ( DataObject* pParent, const std::string& updatePath ) |
| Update object. More... | |
| virtual StatusCode | queryInterface ( const IID& riid, void** ppvUnknown ) |
| Query interface. More... | |
| virtual StatusCode | initialize () |
| Service initialisation. More... | |
| virtual StatusCode | finalize () |
| Service initialisation. More... | |
Protected Methods | |
| DataSvc ( const std::string& name, ISvcLocator* svc ) | |
| Standard Constructor. More... | |
| virtual | ~DataSvc () |
| Standard Destructor. More... | |
| bool | checkRoot () |
| Check if root path is valid. More... | |
| StatusCode | retrieveEntry ( RegistryEntry* pNode,const std::string& path, RegistryEntry*& pEntry ) |
| Retrieve registry entry from store. More... | |
| virtual StatusCode | loadObject ( IDataDirectory* pNode ) |
| Invoke Persistency service to create transient object from its persistent representation. More... | |
Protected Attributes | |
| TransientStore | m_root |
| Pointer to root entry. More... | |
| int | m_rootEventCLID |
| Integer Property corresponding to CLID of root entry. More... | |
| std::string | m_rootEventName |
| Name of root event. More... | |
| IConversionSvc* | m_dataLoader |
| Pointer to data loader service. More... | |
| LoadItems | m_preLoads |
| Items to be pre - loaded. More... | |
Friends | |
| class | SvcFactory< DataSvc > |
A data service manages the transient data stores and implements the IDataProviderSvc and IDataManagerSvc interfaces.
Definition at line 32 of file DataSvc.h.
|
|
Define set of load items.
|
|
|
Standard Constructor.
Definition at line 923 of file DataSvc.cpp. |
|
|
Standard Destructor.
Definition at line 934 of file DataSvc.cpp. |
|
|
Add an item to the preload list.
Reimplemented from IDataProviderSvc. Definition at line 827 of file DataSvc.cpp. |
|
|
Add an item to the preload list.
Reimplemented from IDataProviderSvc. Definition at line 818 of file DataSvc.cpp. Referenced by addPreLoadItem(). |
|
|
Check if root path is valid.
Definition at line 239 of file DataSvc.h. Referenced by clearStore(), clearSubTree(), findObject(), linkObject(), registerObject(), retrieveObject(), traverseSubTree(), traverseTree(), unlinkObject(), unregisterObject(), and updateObject(). |
|
|
Remove all data objects in the data store.
Reimplemented from IDataManagerSvc. Definition at line 83 of file DataSvc.cpp. |
|
|
Remove all data objects below the sub tree identified by the object.
Reimplemented from IDataManagerSvc. Definition at line 66 of file DataSvc.cpp. |
|
|
Remove all data objects below the sub tree identified by its full path name.
Reimplemented from IDataManagerSvc. Definition at line 49 of file DataSvc.cpp. |
|
|
Service initialisation.
Reimplemented from Service. Definition at line 904 of file DataSvc.cpp. |
|
|
Find object in the data store.
Reimplemented from IDataProviderSvc. Definition at line 584 of file DataSvc.cpp. |
|
|
Find object in the data store.
Reimplemented from IDataProviderSvc. Definition at line 591 of file DataSvc.cpp. |
|
|
Find object in the data store.
Reimplemented from IDataProviderSvc. Definition at line 574 of file DataSvc.cpp. |
|
|
Find object in the data store.
Reimplemented from IDataProviderSvc. Definition at line 564 of file DataSvc.cpp. |
|
|
Find object identified by its full path in the data store.
Reimplemented from IDataProviderSvc. Definition at line 536 of file DataSvc.cpp. |
|
|
Find object identified by its full path in the data store.
Reimplemented from IDataProviderSvc. Definition at line 550 of file DataSvc.cpp. Referenced by findObject(), and updateObject(). |
|
|
Service initialisation.
Reimplemented from Service. Definition at line 898 of file DataSvc.cpp. |
|
|
Add a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 711 of file DataSvc.cpp. |
|
|
Add a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 731 of file DataSvc.cpp. |
|
|
Add a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 722 of file DataSvc.cpp. |
|
|
Add a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 689 of file DataSvc.cpp. Referenced by linkObject(). |
|
|
Invoke Persistency service to create transient object from its persistent representation.
Definition at line 393 of file DataSvc.cpp. Referenced by retrieveEntry(), retrieveObject(), and updateObject(). |
|
|
load all preload items of the list.
Reimplemented from IDataProviderSvc. Definition at line 870 of file DataSvc.cpp. |
|
|
Execute one level of preloading and recursively load until the final level is reached.
Definition at line 852 of file DataSvc.cpp. |
|
|
Query interface.
Reimplemented from Service. Definition at line 883 of file DataSvc.cpp. |
|
|
Register object with the data store.
Reimplemented from IDataProviderSvc. Definition at line 227 of file DataSvc.cpp. |
|
|
Register object with the data store.
Reimplemented from IDataProviderSvc. Definition at line 199 of file DataSvc.cpp. |
|
|
Register object with the data store.
Reimplemented from IDataProviderSvc. Definition at line 184 of file DataSvc.cpp. |
|
|
Register object with the data store.
Reimplemented from IDataProviderSvc. Definition at line 171 of file DataSvc.cpp. |
|
|
Register object with the data store.
Reimplemented from IDataProviderSvc. Definition at line 155 of file DataSvc.cpp. Referenced by registerObject(). |
|
|
Add an item to the preload list.
Reimplemented from IDataProviderSvc. Definition at line 841 of file DataSvc.cpp. |
|
|
Remove an item from the preload list.
Reimplemented from IDataProviderSvc. Definition at line 832 of file DataSvc.cpp. Referenced by removePreLoadItem(). |
|
|
Clear the preload list.
Reimplemented from IDataProviderSvc. Definition at line 846 of file DataSvc.cpp. |
|
|
Retrieve registry entry from store.
Definition at line 427 of file DataSvc.cpp. Referenced by retrieveObject(). |
|
|
Retrieve object from data store.
Reimplemented from IDataProviderSvc. Definition at line 529 of file DataSvc.cpp. |
|
|
Retrieve object from data store.
Reimplemented from IDataProviderSvc. Definition at line 509 of file DataSvc.cpp. |
|
|
Retrieve object from data store.
Reimplemented from IDataProviderSvc. Definition at line 499 of file DataSvc.cpp. |
|
|
Retrieve object from data store.
Reimplemented from IDataProviderSvc. Definition at line 489 of file DataSvc.cpp. |
|
|
Retrieve object identified by its full path from the data store.
Reimplemented from IDataProviderSvc. Definition at line 483 of file DataSvc.cpp. |
|
|
Retrieve object from data store.
Reimplemented from IDataProviderSvc. Definition at line 459 of file DataSvc.cpp. Referenced by preLoad(), and retrieveObject(). |
|
|
Accessor for root event CLID.
Reimplemented from IDataManagerSvc. Definition at line 913 of file DataSvc.cpp. |
|
|
Name for root Event.
Reimplemented from IDataManagerSvc. Definition at line 918 of file DataSvc.cpp. |
|
|
Pass a default data loader to the service.
Reimplemented from IDataManagerSvc. Definition at line 147 of file DataSvc.cpp. |
|
|
Initialize data store for new event by giving new event path and address of root object.
Reimplemented from IDataManagerSvc. Definition at line 136 of file DataSvc.cpp. |
|
|
Initialize data store for new event by giving new event path and root object.
Reimplemented from IDataManagerSvc. Definition at line 125 of file DataSvc.cpp. |
|
|
Analyse by traversing all data objects below the sub tree.
Reimplemented from IDataManagerSvc. Definition at line 105 of file DataSvc.cpp. |
|
|
Analyse by traversing all data objects below the sub tree identified by its full path name.
Reimplemented from IDataManagerSvc. Definition at line 93 of file DataSvc.cpp. |
|
|
Analyse by traversing all data objects in the data store.
Reimplemented from IDataManagerSvc. Definition at line 117 of file DataSvc.cpp. |
|
|
Remove a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 753 of file DataSvc.cpp. |
|
|
Remove a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 777 of file DataSvc.cpp. |
|
|
Remove a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 768 of file DataSvc.cpp. |
|
|
Remove a link to another object.
Reimplemented from IDataProviderSvc. Definition at line 740 of file DataSvc.cpp. Referenced by unlinkObject(). |
|
|
Unregister object from the data store.
Reimplemented from IDataProviderSvc. Definition at line 365 of file DataSvc.cpp. |
|
|
Unregister object from the data store.
Reimplemented from IDataProviderSvc. Definition at line 338 of file DataSvc.cpp. |
|
|
Unregister object from the data store.
Reimplemented from IDataProviderSvc. Definition at line 315 of file DataSvc.cpp. |
|
|
Unregister object from the data store.
Reimplemented from IDataProviderSvc. Definition at line 290 of file DataSvc.cpp. |
|
|
Unregister object from the data store.
Reimplemented from IDataProviderSvc. Definition at line 267 of file DataSvc.cpp. |
|
|
Unregister object from the data store.
Reimplemented from IDataProviderSvc. Definition at line 242 of file DataSvc.cpp. |
|
|
Update object.
Reimplemented from IDataProviderSvc. Definition at line 679 of file DataSvc.cpp. |
|
|
Update object.
Reimplemented from IDataProviderSvc. Definition at line 669 of file DataSvc.cpp. |
|
|
Update object.
Reimplemented from IDataProviderSvc. Definition at line 638 of file DataSvc.cpp. |
|
|
Update object.
Reimplemented from IDataProviderSvc. Definition at line 611 of file DataSvc.cpp. |
|
|
Update object identified by its directory entry.
Reimplemented from IDataProviderSvc. Definition at line 626 of file DataSvc.cpp. Referenced by updateObject(). |
|
|
Update existing registry entry.
Reimplemented from IDataProviderSvc. Definition at line 786 of file DataSvc.cpp. |
|
|
The class creator is of course a friend!
|
|
|
Pointer to data loader service.
|
|
|
Items to be pre - loaded.
|
|
|
Pointer to root entry.
|
|
|
Integer Property corresponding to CLID of root entry.
|
|
|
Name of root event.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000