| The Gaudi Framework v32r1 (f65d50dc)

Classes | Functions
ServiceHandle.h File Reference
`#include "GaudiKernel/Bootstrap.h"`
`#include "GaudiKernel/GaudiException.h"`
`#include "GaudiKernel/GaudiHandle.h"`
`#include "GaudiKernel/IMessageSvc.h"`
`#include "GaudiKernel/IProperty.h"`
`#include "GaudiKernel/ISvcLocator.h"`
`#include "GaudiKernel/MsgStream.h"`
`#include "GaudiKernel/ServiceLocatorHelper.h"`
`#include <stdexcept>`
`#include <string>`
`#include <type_traits>`
Include dependency graph for ServiceHandle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | ServiceHandle< T >
| Handle to be used in lieu of naked pointers to services. More...
class | ServiceHandleArray< T >
| Array of Handles to be used in lieu of vector of naked pointers to tools. More...

## Functions
template<class T >
std::ostream & | operator<< (std::ostream &os, const ServiceHandle< T > &handle)
template<class T >
std::ostream & | operator<< (std::ostream &os, const ServiceHandleArray< T > &handle)

## Function Documentation

## ◆ operator<<() [1/2]

template<class T >

std::ostream& operator<< | ( | std::ostream & | os,
|  | const ServiceHandle< T > & | handle
| ) |  |
| inline

Definition at line 166 of file ServiceHandle.h.

166 {
167 return operator<<( os, static_cast<const GaudiHandleInfo&>( handle ) );
168 }

## ◆ operator<<() [2/2]

template<class T >

std::ostream& operator<< | ( | std::ostream & | os,
|  | const ServiceHandleArray< T > & | handle
| ) |  |
| inline

Definition at line 171 of file ServiceHandle.h.

171 {
172 return operator<<( os, static_cast<const GaudiHandleInfo&>( handle ) );
173 }