12 #ifndef GAUDIKERNEL_SMARTDATALOCATOR_H 13 #define GAUDIKERNEL_SMARTDATALOCATOR_H 1 90 this->m_pDirectory = pObject->
registry();
127 template <
class OTHER>
130 this->
m_pObject =
dynamic_cast<TYPE*
>( pObj );
135 template <
class OTHER>
138 this->
m_pObject =
dynamic_cast<TYPE*
>(
const_cast<OTHER*
>( pObj ) );
143 #endif // GAUDIKERNEL_SMARTDATALOCATOR_H SmartDataLocator(IDataProviderSvc *pService, DataObject *pObject, const std::string &path)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
SmartDataLocator(IDataProviderSvc *pService, const std::string &fullPath)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
A small class used to access easily (and efficiently) data items residing in data stores...
Data provider interface definition.
IRegistry * registry() const
Get pointer to Registry.
IDataProviderSvc * service()
Retrieve data service.
Helper class to configure smart pointer functionality.
SmartDataLocator(SmartDataObjectPtr &refObject, const std::string &path)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
SmartDataLocator(IDataProviderSvc *pService, IRegistry *pDirectory)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
const std::string & path() const
Path name.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
SmartDataLocator(SmartDataObjectPtr &refObject, IRegistry *pDirectory)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
A small class used to access easily (and efficiently) data items residing in data stores...
A small class used to access easily (and efficiently) data items residing in data stores...
A small class used to access easily (and efficiently) data items residing in data stores...
virtual ~SmartDataLocator()
Standard destructor.
IRegistry * directory()
Access to data directory.
SmartDataPtr< OTHER > & operator=(const OTHER *pObj)
Automatic conversion to data type.
SmartDataPtr< OTHER > & operator=(OTHER *pObj)
Automatic conversion to data type.
A DataObject is the base class of any identifiable object on any data store.
TYPE * m_pObject
Pointer to data store object.