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/IGslErrorHandler.h"
10 #include "GaudiGSL/GslError.h"
11 // forward declaration
12 
22 class GslErrorPrint: public extends1<AlgTool, IGslErrorHandler> {
23 public:
24 
31  StatusCode handle( const GslError& error ) const override;
32 
39  ( const std::string& type ,
40  const std::string& name ,
41  const IInterface* parent );
42 
44  ~GslErrorPrint( ) override = default;
45 
46 };
47 
48 // ============================================================================
49 // The END
50 // ============================================================================
51 #endif // GAUDIGSL_GSLERRORPrint_H
52 // ============================================================================
~GslErrorPrint() override=default
destructor (protected and virtual)
Helper class to represent GSL errors.
Definition: GslError.h:15
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
Definition of the basic interface.
Definition: IInterface.h:234
GslErrorPrint(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Concrete GSL eror handler It is just prints the GSL errors.
Definition: GslErrorPrint.h:22
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
StatusCode handle(const GslError &error) const override
handle the GSL error
string type
Definition: gaudirun.py:151