All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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::ostream & operator<< (std::ostream &os, const GaudiHandleInfo &handle)
 

Function Documentation

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

Definition at line 116 of file GaudiHandle.cpp.

116  {
117  std::string msg;
118  const std::string& propName = handle.propertyName();
119  if ( !propName.empty() ) msg += propName + " = ";
120  msg += handle.pythonRepr();
121  os << msg;
122  return os;
123 }
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
Definition: GaudiHandle.h:38
virtual const std::string pythonRepr() const =0
Python representation of handle, i.e.