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 59 of file VarHandleKeyProperty.cxx.

60{
61 std::print (o, "'{}{}{}'", v.storeHandle().name(), storeSeparator, v.key());
62 return o;
63}
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 std::print (o, "[{}]", v.toString());
50 return o;
51 }