12 #ifndef GAUDIKERNEL_SMARTDATALOCATOR_H 13 #define GAUDIKERNEL_SMARTDATALOCATOR_H 1 83 if ( 0 != pObject ) { this->m_pDirectory = pObject->
registry(); }
115 template <
class OTHER>
117 this->
m_pObject = dynamic_cast<TYPE*>( pObj );
122 template <
class OTHER>
124 this->
m_pObject = dynamic_cast<TYPE*>( const_cast<OTHER*>( pObj ) );
129 #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...
IRegistry * registry() const
Get pointer to Registry.
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.
IDataProviderSvc * service()
Retrieve data service.
Helper class to configure smart pointer functionality.
const std::string & path() const
Path name.
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...
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.