| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

GslErrorPrint.h
Go to the documentation of this file.
1 #ifndef GAUDIGSL_GSLERRORPrint_H
2 #define GAUDIGSL_GSLERRORPrint_H 1
3 // Include files
4 // from STL
5 #include <string>
6 // from GaudiKernel
7 #include "GaudiKernel/AlgTool.h"
8 // from GaudiGSL
9 #include "GaudiGSL/GslError.h"
10 #include "GaudiGSL/IGslErrorHandler.h"
11 // forward declaration
12
22 struct GslErrorPrint : extends<AlgTool, IGslErrorHandler> {
23
26 using extends::extends;
27
34 StatusCode handle( const GslError& error ) const override;
35 };
36
37 // ============================================================================
38 // The END
39 // ============================================================================
40 #endif // GAUDIGSL_GSLERRORPrint_H
41 // ============================================================================
GslError
Helper class to represent GSL errors.
Definition: GslError.h:16
AlgTool.h
IGslErrorHandler.h
GslErrorPrint
Concrete GSL eror handler It is just prints the GSL errors.
Definition: GslErrorPrint.h:22
GslErrorPrint::handle
StatusCode handle(const GslError &error) const override
handle the GSL error
Definition: GslErrorPrint.cpp:28
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:106
GslError.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10