| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# 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 219 of file ToolHandle.h.

    00219                                                                                   {
    00220   return operator<<(os, static_cast<const GaudiHandleInfo&>(handle) );
    00221 }

template<class T>

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

Definition at line 213 of file ToolHandle.h.

    00213                                                                              {
    00214   return operator<<(os, static_cast<const GaudiHandleInfo&>(handle) );
    00215 }