| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# ToolHandle.h File Reference

`#include "GaudiKernel/GaudiHandle.h"`
`#include "GaudiKernel/ServiceHandle.h"`
`#include "GaudiKernel/IToolSvc.h"`
`#include "GaudiKernel/INamedInterface.h"`
`#include <string>`
`#include <vector>`
`#include <stdexcept>`

Include dependency graph for ToolHandle.h:

Go to the source code of this file.

## Classes
class | ToolHandleInfo
| General info and helper functions for toolhandles and arrays. More...
class | ToolHandle< T >
| Handle to be used in lieu of naked pointers to tools. More...
class | ToolHandleArray< 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 ToolHandle< T > &handle)
template<class T>
std::ostream & | operator<< (std::ostream &os, const ToolHandleArray< T > &handle)

## Function Documentation

template<class T>

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

Definition at line 216 of file ToolHandle.h.

    00216                                                                                   {
    00217   return operator<<(os, static_cast<const GaudiHandleInfo&>(handle) );
    00218 }

template<class T>

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

Definition at line 210 of file ToolHandle.h.

    00210                                                                              {
    00211   return operator<<(os, static_cast<const GaudiHandleInfo&>(handle) );
    00212 }