Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 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 }
STL class.
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
Definition: GaudiHandle.h:47
virtual std::string pythonRepr() const =0
Python representation of handle, i.e.