| The Gaudi Framework v28r2-patches (bc4ad17a)

- 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/IGslErrorHandler.h"
10 #include "GaudiGSL/GslError.h"
11 // forward declaration
12
22 class GslErrorPrint: public extends<AlgTool,
23 IGslErrorHandler> {
24 public:
25
32 StatusCode handle( const GslError& error ) const override;
33
39 GslErrorPrint
40 ( const std::string& type ,
41 const std::string& name ,
42 const IInterface* parent );
43
45 ~GslErrorPrint( ) override = default;
46
47 };
48
49 // ============================================================================
50 // The END
51 // ============================================================================
52 #endif // GAUDIGSL_GSLERRORPrint_H
53 // ============================================================================
GslErrorPrint::~GslErrorPrint
~GslErrorPrint() override=default
destructor (protected and virtual)
GslError
Helper class to represent GSL errors.
Definition: GslError.h:15
GslErrorPrint::handle
StatusCode handle(const GslError &error) const override
handle the GSL error
Definition: GslErrorPrint.cpp:47
AlgTool.h
IGslErrorHandler.h
std::string
STL class.
CommonMessagingBase::error
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
Definition: CommonMessaging.h:117
GslError.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
GslErrorPrint::GslErrorPrint
GslErrorPrint(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: GslErrorPrint.cpp:29
GslErrorPrint
Concrete GSL eror handler It is just prints the GSL errors.
Definition: GslErrorPrint.h:22
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:63
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:77
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:70