The Gaudi Framework  v29r0 (ff2e7097)
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

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

Definition at line 104 of file GaudiHandle.cpp.

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