1 #ifndef GAUDIHIVE_DATAOBJECTHANDLEBASE_H 2 #define GAUDIHIVE_DATAOBJECTHANDLEBASE_H 39 template <
class OWNER,
class K,
typename = std::enable_if_t<std::is_base_of_v<IProperty, OWNER>>>
44 p->template setOwnerType<OWNER>();
void setWritten(bool wasWritten=true)
virtual ~DataObjectHandleBase()
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
static const std::string default_type
virtual IDataHandleHolder * owner() const
std::string pythonRepr() const override
SmartIF< IDataProviderSvc > m_EDS
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
void setRead(bool wasRead=true)
void setOptional(bool optional=true)
bool m_searchDone
Whether the search part of the fetch method (so dealing with alt names was already executed or not.
DataObjectHandleProperty.h GaudiKernel/DataObjectHandleProperty.h.
DataObjectHandleBase & operator=(const DataObjectHandleBase &)
This class is used for returning status codes from appropriate routines.
bool isOptional() const
Check if the data object declared is optional for the algorithm.
void fromString(const std::string &s)
DataObjectHandleBase GaudiKernel/DataObjectHandleBase.h.
DataObject * fetch() const
std::mutex m_searchMutex
A Mutex protecting the calls to the search part of the fetch method, so that we are sure that we only...
std::string toString() const
SmartIF< IMessageSvc > m_MS
A DataObject is the base class of any identifiable object on any data store.
friend std::ostream & operator<<(std::ostream &str, const DataObjectHandleBase &d)
Header file for std:chrono::duration-based Counters.
DataObjectHandleBase(const DataObjID &k, Gaudi::DataHandle::Mode a, IDataHandleHolder *owner)