| # 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
GslErrorCount.h
Go to the documentation of this file.
1 // $Id: GslErrorCount.h,v 1.2 2006/11/30 10:40:53 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIGSL_GSLERRORCOUNT_H
4 #define GAUDIGSL_GSLERRORCOUNT_H 1
5 // Include files
6 // from STL
7 #include <string>
8 #include <map>
9 // from GaudiKernel
10 #include "GaudiKernel/AlgTool.h"
11 // from GaudiGSL
12 #include "GaudiGSL/IGslErrorHandler.h"
13 #include "GaudiGSL/GslError.h"
14 // forward declaration
15
25 class GslErrorCount: public extends1<AlgTool, IGslErrorHandler> {
26 public:
27
34 virtual StatusCode handle
35 ( const GslError& error ) const ;
36
42 virtual StatusCode finalize () ;
43
49 GslErrorCount
50 ( const std::string& type ,
51 const std::string& name ,
52 const IInterface* parent );
53
55 virtual ~GslErrorCount( );
56
57 private:
58
60 typedef std::map<GslError,unsigned int> Counters ;
61 mutable Counters m_counters ;
62
63
64 };
65
66 // ============================================================================
67 // The END
68 // ============================================================================
69 #endif // GAUDIGSL_GSLERRORCOUNT_H
70 // ============================================================================