The Gaudi Framework  master (37c0b60a)
GaudiHandle.cpp File Reference
#include <GaudiKernel/GaudiHandle.h>
#include <iostream>
#include <string>
Include dependency graph for GaudiHandle.cpp:

Go to the source code of this file.

Functions

std::ostreamoperator<< (std::ostream &os, const GaudiHandleInfo &handle)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream os,
const GaudiHandleInfo handle 
)

Definition at line 104 of file GaudiHandle.cpp.

104  {
106  const auto& propName = handle.propertyName();
107  if ( !propName.empty() ) msg += propName + " = ";
108  msg += handle.pythonRepr();
109  os << msg;
110  return os;
111 }
std::string
STL class.
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:19
GaudiHandleInfo::propertyName
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
Definition: GaudiHandle.h:59
GaudiHandleInfo::pythonRepr
virtual std::string pythonRepr() const =0
Python representation of handle, i.e.