| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DataIncident.h
Go to the documentation of this file.
1 #ifndef GAUDI_DATAINCIDENT_H
2 #define GAUDI_DATAINCIDENT_H
3
4 // Include files
5 #include "GaudiKernel/Incident.h"
6
15 template<class T>
16 class GAUDI_API ContextIncident: public Incident {
17 public:
19
25 ContextIncident(const std::string& src,const std::string& typ,T tag)
26 : Incident(src,typ), m_tag(tag) { }
27
29 virtual ~ContextIncident() { }
30
32 const T& tag() const { return m_tag; }
33
34 private:
35 T m_tag;
36 };
37
39 typedef ContextIncident<std::string> DataIncident;
40
41 #endif //GAUDI_DATAINCIDENT_H