The Gaudi Framework  master (fb0007c6)
Loading...
Searching...
No Matches
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::ostream & operator<< (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 {
105 std::string msg;
106 const auto& propName = handle.propertyName();
107 if ( !propName.empty() ) msg += propName + " = ";
108 msg += handle.pythonRepr();
109 os << msg;
110 return os;
111}
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
Definition GaudiHandle.h:56
virtual std::string pythonRepr() const =0
Python representation of handle, i.e.