| The Gaudi Framework v32r1 (f65d50dc)

Classes | Namespaces | Functions
GaudiHandle.h File Reference
`#include "GaudiKernel/GaudiException.h"`
`#include "GaudiKernel/IInterface.h"`
`#include "GaudiKernel/Property.h"`
`#include "GaudiKernel/System.h"`
`#include <algorithm>`
`#include <iostream>`
`#include <stdexcept>`
`#include <string>`
`#include <type_traits>`
`#include <vector>`
Include dependency graph for GaudiHandle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | GaudiHandleInfo
class | GaudiHandleBase
| Base class to handles to be used in lieu of naked pointers to various Gaudi components. More...
class | GaudiHandle< T >
| Handle to be used in lieu of naked pointers to gaudis. More...
class | GaudiHandleArrayBase
| Base class of array's of various gaudihandles. More...
class | GaudiHandleArray< T >
| T is the concrete handle type, e.g. More...

## Namespaces
| details

## Functions
template<class T >
std::remove_const_t< T > * | details::nonConst (T *p)
| Cast a pointer to a non const type. More...
std::ostream & | operator<< (std::ostream &os, const GaudiHandleInfo &handle)

## Function Documentation

## ◆ operator<<()

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

Definition at line 95 of file GaudiHandle.cpp.

95 {
96 std::string msg;
97 const auto& propName = handle.propertyName();
98 if ( !propName.empty() ) msg += propName + " = ";
99 msg += handle.pythonRepr();
100 os << msg;
101 return os;
102 }
GaudiHandleInfo::propertyName
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
Definition: GaudiHandle.h:47
std::string
STL class.
GaudiHandleInfo::pythonRepr
virtual std::string pythonRepr() const =0
Python representation of handle, i.e.
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:8