12 #ifndef GAUDIKERNEL_SMARTDATAPTR_H 13 #define GAUDIKERNEL_SMARTDATAPTR_H 1 51 #if !defined( __ICC ) && !defined( __COVERITY__ ) 138 template <
class OTHER>
141 this->
m_pObject =
dynamic_cast<TYPE*
>( pObj );
146 template <
class OTHER>
149 this->
m_pObject =
dynamic_cast<TYPE*
>(
const_cast<OTHER*
>( pObj ) );
154 #endif // GAUDIKERNEL_SMARTDATAPTR_H SmartDataPtr(SmartDataObjectPtr &refObject, const std::string &path)
Standard constructor: Construct an SmartDataPtr instance which is able to connect to a DataObject ins...
SmartDataPtr & operator=(const OTHER *pObj)
Automatic conversion to data type.
Data provider interface definition.
IRegistry * registry() const
Get pointer to Registry.
IDataProviderSvc * service()
Retrieve data service.
virtual ~SmartDataPtr()=default
Standard destructor.
Helper class to configure smart pointer functionality.
const std::string & path() const
Path name.
SmartDataPtr(const SmartDataObjectPtr ©)
Copy constructor: Construct an copy of a SmartDataPtr instance.
SmartDataPtr(IDataProviderSvc *pService, const std::string &fullPath)
Standard constructor: Construct an SmartDataPtr instance which is able to connect to a DataObject ins...
The IRegistry represents the entry door to the environment any data object residing in a transient da...
SmartDataPtr(IDataProviderSvc *pService, IRegistry *pDirectory)
Standard constructor: Construct an SmartDataPtr instance which is able to connect to a DataObject ins...
SmartDataPtr & operator=(OTHER *pObj)
Automatic conversion to data type.
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...
SmartDataPtr(SmartDataObjectPtr &refObject, IRegistry *pDirectory)
Standard constructor: Construct an SmartDataPtr instance which is able to connect to a DataObject ins...
A small class used to access easily (and efficiently) data items residing in data stores...
IRegistry * directory()
Access to data directory.
SmartDataPtr(IDataProviderSvc *pService, DataObject *pObject, const std::string &path)
Standard constructor: Construct an SmartDataPtr instance which is able to connect to a DataObject ins...
IRegistry * m_pRegistry
Pointer to the data registry containing the object.
A DataObject is the base class of any identifiable object on any data store.
TYPE * m_pObject
Pointer to data store object.