ATLAS Offline Software
Functions
Gaudi::Utils Namespace Reference

Functions

std::ostream &GAUDI_API 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]

GAUDI_API 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]

GAUDI_API 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 49 of file StoreGate/src/VarHandleKeyArray.cxx.

50  {
51  o << "[" << v.toString() << "]";
52  return o;
53  }
storeSeparator
constexpr char const storeSeparator
Definition: StoreGate/src/VarHandleKey.cxx:27
python.PyAthena.v
v
Definition: PyAthena.py:154