The Gaudi Framework  v32r2 (46d42edc)
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 95 of file GaudiHandle.cpp.

95  {
97  const auto& propName = handle.propertyName();
98  if ( !propName.empty() ) msg += propName + " = ";
99  msg += handle.pythonRepr();
100  os << msg;
101  return os;
102 }
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
Definition: GaudiHandle.h:47
STL class.
virtual std::string pythonRepr() const =0
Python representation of handle, i.e.