| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- File List
- File Members

# 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.

References std::basic_string< _CharT, _Traits, _Alloc >::empty(), GaudiHandleInfo::propertyName(), and GaudiHandleInfo::pythonRepr().

    00116                                                                         {
    00117   std::string msg;
    00118   const std::string& propName = handle.propertyName();
    00119   if ( !propName.empty() ) msg += propName + " = ";
    00120   msg += handle.pythonRepr();
    00121   os << msg;
    00122   return os;
    00123 }