#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/DataHandle.h>
|
DataObjID | m_key = { "NONE" } |
| The key of the object behind this DataHandle Although it may look strange to have it mutable, this can actually change in case the object had alternative names, and it should not be visible to the end user, for which the Handle is still the same.
|
|
IDataHandleHolder * | m_owner = nullptr |
|
Definition at line 37 of file DataHandle.h.
◆ PropertyType
◆ Mode
◆ DataHandle() [1/2]
Definition at line 41 of file DataHandle.h.
DataObjID m_key
The key of the object behind this DataHandle Although it may look strange to have it mutable,...
IDataHandleHolder * m_owner
virtual IDataHandleHolder * owner() const
◆ DataHandle() [2/2]
◆ ~DataHandle()
virtual Gaudi::DataHandle::~DataHandle |
( |
| ) |
|
|
virtualdefault |
◆ fullKey()
virtual const DataObjID & Gaudi::DataHandle::fullKey |
( |
| ) |
const |
|
inlinevirtual |
◆ init()
virtual bool Gaudi::DataHandle::init |
( |
| ) |
|
|
inlinevirtual |
◆ isCondition()
virtual bool Gaudi::DataHandle::isCondition |
( |
| ) |
const |
|
inlinevirtual |
◆ mode()
virtual Mode Gaudi::DataHandle::mode |
( |
| ) |
const |
|
inlinevirtual |
◆ objKey()
virtual const std::string & Gaudi::DataHandle::objKey |
( |
| ) |
const |
|
inlinevirtual |
◆ owner()
◆ pythonRepr()
std::string Gaudi::DataHandle::pythonRepr |
( |
| ) |
const |
|
virtual |
Reimplemented in DataObjectHandle< T >, DataObjectHandle< AnyDataWithViewWrapper< View, Owned > >, DataObjectHandle< AnyDataWithViewWrapper< View, Owned > >, DataObjectHandle< AnyDataWrapper< T > >, DataObjectHandle< AnyDataWrapper< T > >, DataObjectHandle< DataObject >, DataObjectHandle< Gaudi::NamedRange_< T > >, DataObjectHandle< Gaudi::NamedRange_< T > >, DataObjectHandle< Gaudi::Range_< T > >, DataObjectHandle< Gaudi::Range_< T > >, DataObjectHandle< Payload_t< Gaudi::DataHandle::Reader, T, U > >, DataObjectHandle< Payload_t< Gaudi::DataHandle::Reader, T, U > >, DataObjectHandle< Payload_t< Gaudi::DataHandle::Writer, T, U > >, DataObjectHandle< Payload_t< Gaudi::DataHandle::Writer, T, U > >, DataObjectHandle< std::optional< Gaudi::NamedRange_< T > > >, and DataObjectHandle< std::optional< Gaudi::NamedRange_< T > > >.
Definition at line 19 of file DataHandle.cpp.
19 {
20 std::ostringstream ost;
21 ost <<
"DataHandle(" <<
fullKey() <<
", '";
24 ost << "R";
25 break;
27 ost << "W";
28 break;
29 default:
30 ost << "UNKNOWN";
31 break;
32 }
34 return ost.str();
35 }
static const std::string default_type
virtual Mode mode() const
virtual const DataObjID & fullKey() const
◆ reset()
virtual void Gaudi::DataHandle::reset |
( |
bool | | ) |
|
|
inlinevirtual |
◆ setKey()
virtual void Gaudi::DataHandle::setKey |
( |
DataObjID | key | ) |
|
|
inlinevirtual |
◆ setOwner()
◆ updateKey()
virtual void Gaudi::DataHandle::updateKey |
( |
std::string | key | ) |
|
|
inlinevirtual |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | str, |
|
|
const DataHandle & | d ) |
|
friend |
Definition at line 37 of file DataHandle.cpp.
37 {
38 str << d.fullKey() << " m: " << d.mode();
39 if ( d.owner() ) str << " o: " << d.owner()->name();
40 return str;
41 }
◆ default_type
std::string const Gaudi::DataHandle::default_type = "unknown_t" |
|
staticprotected |
◆ m_isCond
bool Gaudi::DataHandle::m_isCond = false |
|
private |
◆ m_key
DataObjID Gaudi::DataHandle::m_key = { "NONE" } |
|
protected |
The key of the object behind this DataHandle Although it may look strange to have it mutable, this can actually change in case the object had alternative names, and it should not be visible to the end user, for which the Handle is still the same.
Definition at line 79 of file DataHandle.h.
◆ m_mode
◆ m_owner
The documentation for this class was generated from the following files: