ATLAS Offline Software
Loading...
Searching...
No Matches
Gaudi::Utils Namespace Reference

Functions

std::ostream & toStream (const SG::VarHandleKeyArray &v, std::ostream &o)
 Gaudi function used to convert a property to a string.
std::ostream & toStream (const SG::VarHandleKey &v, std::ostream &o)
 Gaudi function used to convert a property to a string.

Function Documentation

◆ toStream() [1/2]

std::ostream & Gaudi::Utils::toStream ( const SG::VarHandleKey & v,
std::ostream & o )

Gaudi function used to convert a property to a string.

Parameters
vThe object to convert.
oStream to which to do the conversion.

Used during Gaudi property handling to get a string representation of v. Note that if the representation is a string, it should be surrounded by quote marks.

Definition at line 61 of file VarHandleKeyProperty.cxx.

62{
63 o << "'" << v.storeHandle().name() << storeSeparator << v.key() << "'";
64 return o;
65}
constexpr char const storeSeparator

◆ toStream() [2/2]

std::ostream & Gaudi::Utils::toStream ( const SG::VarHandleKeyArray & v,
std::ostream & o )

Gaudi function used to convert a property to a string.

Parameters
vThe object to convert.
oStream to which to do the conversion.

Used during Gaudi property handling to get a string representation of v. Note that if the representation is a string, it should be surrounded by quote marks.

Definition at line 47 of file StoreGate/src/VarHandleKeyArray.cxx.

48 {
49 o << "[" << v.toString() << "]";
50 return o;
51 }