#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/DataObjID.h>
Definition at line 47 of file DataObjID.h.
◆ DataObjID() [1/5]
◆ DataObjID() [2/5]
DataObjID::DataObjID |
( |
const DataObjID & | other | ) |
|
|
inline |
◆ DataObjID() [3/5]
DataObjID::DataObjID |
( |
std::string | key | ) |
|
|
inline |
Definition at line 100 of file DataObjID.h.
const std::string & key() const
only return the last part of the key
◆ DataObjID() [4/5]
DataObjID::DataObjID |
( |
const CLID & | clid, |
|
|
std::string | key ) |
|
inline |
◆ DataObjID() [5/5]
DataObjID::DataObjID |
( |
std::string | className, |
|
|
std::string | key ) |
|
inline |
Definition at line 106 of file DataObjID.h.
110}
const std::string & className() const
return the ClassName (if available)
◆ className()
const std::string & DataObjID::className |
( |
| ) |
const |
return the ClassName (if available)
Definition at line 90 of file DataObjID.cpp.
90 {
91
92
95 if ( !getClidSvc() || getClidSvc()->getTypeNameOfID(
m_clid,
m_className ).isFailure() ) {
97 }
98 } );
99 }
101}
std::once_flag m_setClassName
◆ clid()
CLID DataObjID::clid |
( |
| ) |
const |
|
inline |
◆ fullKey()
std::string DataObjID::fullKey |
( |
| ) |
const |
combination of the key and the ClassName, mostly for debugging
Definition at line 103 of file DataObjID.cpp.
◆ hash()
std::size_t DataObjID::hash |
( |
| ) |
const |
|
inline |
◆ hashGen()
void DataObjID::hashGen |
( |
| ) |
|
|
private |
◆ key()
const std::string & DataObjID::key |
( |
| ) |
const |
|
inline |
only return the last part of the key
Definition at line 68 of file DataObjID.h.
◆ operator=()
Definition at line 59 of file DataObjID.h.
59 {
64 return *this;
65 }
◆ setClid()
void DataObjID::setClid |
( |
| ) |
|
|
private |
◆ updateKey()
void DataObjID::updateKey |
( |
std::string | key | ) |
|
|
inline |
◆ operator<
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const DataObjID & | d ) |
|
friend |
Definition at line 86 of file DataObjID.h.
friend std::ostream & toStream(const DataObjID &v, std::ostream &o)
◆ operator==
◆ parse
Definition at line 58 of file DataObjID.cpp.
StatusCode parse_(ResultT &result, std::string_view input)
◆ toStream
std::ostream & toStream |
( |
const DataObjID & | v, |
|
|
std::ostream & | o ) |
|
friend |
Definition at line 84 of file DataObjID.cpp.
84 {
86 return ( d.m_clid != 0 || !d.className().empty() ) ?
toStream( std::tie( d.className(), d.m_key ), os )
88}
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
◆ DataObjID_Hasher
friend DataObjID::DataObjID_Hasher |
◆ m_className
std::string DataObjID::m_className |
|
mutableprivate |
◆ m_clid
CLID DataObjID::m_clid { 0 } |
|
private |
◆ m_hash
std::size_t DataObjID::m_hash { 0 } |
|
private |
◆ m_key
std::string DataObjID::m_key { "INVALID" } |
|
private |
◆ m_setClassName
std::once_flag DataObjID::m_setClassName |
|
mutableprivate |
The documentation for this class was generated from the following files: