ATLAS Offline Software
Functions
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. More...
 
std::ostream & toStream (const SG::VarHandleKey &v, std::ostream &o)
 Gaudi function used to convert a property to a string. More...
 

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 }

◆ 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  }
storeSeparator
constexpr char const storeSeparator
Definition: StoreGate/src/VarHandleKey.cxx:27
python.PyAthena.v
v
Definition: PyAthena.py:154