46 if ( !dpsvc ) {
return nullptr ; }
68 , m_old ( s_NAME , true )
69 , m_enable ( !disable )
72 else if ( m_enable ) { ; }
77 if ( !property || !m_old.assign ( *property ) )
79 else if ( m_old.value() != m_enable )
82 ( m_svc.get() , s_NAME , m_enable ) ;
91 else if ( code().isSuccess() && m_old.value() != m_enable ) {
126 const bool retrieve ,
129 if ( !dpsvc ) {
return nullptr ; }
131 Disabler sentry ( dpsvc , disable ) ;
137 dpsvc -> retrieveObject ( path , result ) :
138 dpsvc -> findObject ( path , result ) ;
140 return sc.
isSuccess() ? result : nullptr ;
StatusCode setProperty(IProperty *component, const std::string &name, const TYPE &value, const std::string &doc)
simple function to set the property of the given object from the value
static GAUDI_API DataObject * findobject(IDataProviderSvc *dpsvc, const std::string &path)
simple wrapper for IDataProviderSvc::findObject The methdod does NOT trigger the loading the object f...
bool isSuccess() const
Test for a status code of SUCCESS.
GAUDI_API Property * getProperty(const IProperty *p, const std::string &name)
simple function which gets the property with given name from the component
Data provider interface definition.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
static GAUDI_API DataObject * getobject(IDataProviderSvc *dpsvc, const std::string &path, const bool retrieve=true, const bool disableDoD=false)
the generic function to get object from TES
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
Property base class allowing Property* collections to be "homogeneous".
A DataObject is the base class of any identifiable object on any data store.