Go to the documentation of this file.
22 #ifndef GAUDIKERNEL_SMARTDATALOCATOR_H
23 #define GAUDIKERNEL_SMARTDATALOCATOR_H 1
93 if ( 0 != pObject ) { this->m_pDirectory = pObject->
registry(); }
125 template <
class OTHER>
127 this->
m_pObject =
dynamic_cast<TYPE*
>( pObj );
132 template <
class OTHER>
134 this->
m_pObject =
dynamic_cast<TYPE*
>(
const_cast<OTHER*
>( pObj ) );
139 #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...
IRegistry * directory()
Access to data directory.
SmartDataLocator(IDataProviderSvc *pService, IRegistry *pDirectory)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
SmartDataLocator(SmartDataObjectPtr &refObject, const std::string &path)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
SmartDataLocator(SmartDataObjectPtr &refObject, IRegistry *pDirectory)
Standard constructor: Construct an SmartDataLocator instance which is able to connect to a DataObject...
TYPE * m_pObject
Pointer to data store object.
A small class used to access easily (and efficiently) data items residing in data stores.
Helper class to configure smart pointer functionality.
A small class used to access easily (and efficiently) data items residing in data stores.
SmartDataPtr< OTHER > & operator=(const OTHER *pObj)
Automatic conversion to data type.
SmartDataPtr< OTHER > & operator=(OTHER *pObj)
Automatic conversion to data type.
A small class used to access easily (and efficiently) data items residing in data stores.
const std::string & path() const
Path name.
virtual ~SmartDataLocator()
Standard destructor.
IDataProviderSvc * service()
Retrieve data service.
IRegistry * registry() const
Get pointer to Registry.