10 #define GAUDIKERNEL_SMARTDATAOBJECTPTR_CPP 1 constexpr static const auto FAILURE
static DataObject * find(SmartDataObjectPtr *ptr)
Static Object find method.
bool operator||(SmartDataObjectPtr &object_1, SmartDataObjectPtr &object_2)
Helper to test Smart data objects efficiently This construct allows statements like: SmartEvtDataPtr<...
DataObject * retrieveObject()
Object retrieve method.
virtual StatusCode findObject(IRegistry *pDirectory, boost::string_ref path, DataObject *&pObject)=0
Find object identified by its directory entry.
IRegistry * registry() const
Get pointer to Registry.
static DataObject * update(SmartDataObjectPtr *ptr)
Static Object update method.
static DataObject * retrieve(SmartDataObjectPtr *ptr)
Static Object retrieval method.
bool operator&&(SmartDataObjectPtr &object_1, SmartDataObjectPtr &object_2)
Helper to test Smart data objects efficiently This construct allows statements like: SmartEvtDataPtr<...
static AccessFunction access()
This class is used for returning status codes from appropriate routines.
virtual StatusCode updateObject(IRegistry *pDirectory)=0
Update object identified by its directory entry.
std::string m_path
Path to object.
DataObject * accessData()
Static Object retrieval method: must call specific function.
const std::string & path() const
Path name.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
virtual StatusCode retrieveObject(IRegistry *pDirectory, boost::string_ref path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.
virtual SmartDataObjectPtr & operator=(const SmartDataObjectPtr &)
Assignment operator.
StatusCode m_status
Keep track of the last error.
A small class used to access easily (and efficiently) data items residing in data stores...
DataObject * findObject()
Object find method.
IDataProviderSvc * m_dataProvider
Pointer to contained object.
static AccessFunction access()
DataObject *(*)(SmartDataObjectPtr *ptr) AccessFunction
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.
DataObject * updateObject()
Object update method.