| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

# ContextIncident< T > Class Template Reference

`#include <DataIncident.h>`

Inheritance diagram for ContextIncident< T >:
[legend]
Collaboration diagram for ContextIncident< T >:
[legend]

List of all members.

## Public Member Functions
| ContextIncident (const std::string &src, const std::string &typ, T tag)
| Initializing Constructor.
virtual | ~ContextIncident ()
| Standard destructor.
const T & | tag () const
| Accesssor to the tag value (CONST).
## Private Attributes
T | m_tag

## Detailed Description

### template<class T>
class ContextIncident< T >

Definition at line 16 of file DataIncident.h.

## Constructor & Destructor Documentation

template<class T >

ContextIncident< T >::ContextIncident | ( | const std::string & | src,
|  | const std::string & | typ,
|  | T | tag |
| ) |  |  | `[inline]`

Initializing Constructor.

Parameters:

  | source | [IN] Incident source (service or algorithm name)
  | type | [IN] Incident type
  | tag | [IN] Incident tag

Returns:
  Reference to ContextIncident object.

Definition at line 25 of file DataIncident.h.

    00026     : Incident(src,typ), m_tag(tag)  {  }

template<class T >

virtual ContextIncident< T >::~ContextIncident | ( |  | ) | `[inline, virtual]`

Standard destructor.

Definition at line 29 of file DataIncident.h.

    00029 { }

## Member Function Documentation

template<class T >

const T& ContextIncident< T >::tag | ( |  | ) | const`[inline]`

Accesssor to the tag value (CONST).

Definition at line 32 of file DataIncident.h.

    00032 { return m_tag; }

## Member Data Documentation

template<class T >

T ContextIncident< T >::m_tag`[private]`

Definition at line 35 of file DataIncident.h.

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r0/GaudiKernel/GaudiKernel/DataIncident.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines