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

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

- Search for |

- File List
- File Members

# ServiceHandle.h File Reference

`#include "GaudiKernel/GaudiHandle.h"`
`#include "GaudiKernel/IMessageSvc.h"`
`#include "GaudiKernel/ISvcLocator.h"`
`#include "GaudiKernel/Bootstrap.h"`
`#include "GaudiKernel/GaudiException.h"`
`#include "GaudiKernel/MsgStream.h"`
`#include "GaudiKernel/ServiceLocatorHelper.h"`
`#include <string>`
`#include <stdexcept>`

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...
## Functions
template<class T>
std::ostream & | operator<< (std::ostream &os, const ServiceHandle< T > &handle)

## Function Documentation

template<class T>

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

Definition at line 104 of file ServiceHandle.h.

    00104                                                                                 {
    00105   return operator<<(os, static_cast<const GaudiHandleInfo&>(handle) );
    00106 }