All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GslErrorPrint.h
Go to the documentation of this file.
1 // $Id: GslErrorPrint.h,v 1.2 2006/11/30 10:40:53 mato Exp $
2 // ============================================================================
3 #ifndef GAUDIGSL_GSLERRORPrint_H
4 #define GAUDIGSL_GSLERRORPrint_H 1
5 // Include files
6 // from STL
7 #include <string>
8 // from GaudiKernel
9 #include "GaudiKernel/AlgTool.h"
10 // from GaudiGSL
12 #include "GaudiGSL/GslError.h"
13 // forward declaration
14 
24 class GslErrorPrint: public extends1<AlgTool, IGslErrorHandler> {
25 public:
26 
33  virtual StatusCode handle
34  ( const GslError& error ) const ;
35 
36 
43  ( const std::string& type ,
44  const std::string& name ,
45  const IInterface* parent );
46 
48  virtual ~GslErrorPrint( );
49 
50 private:
51 
52 };
53 
54 // ============================================================================
55 // The END
56 // ============================================================================
57 #endif // GAUDIGSL_GSLERRORPrint_H
58 // ============================================================================
Helper class to represent GSL errors.
Definition: GslError.h:17
virtual const std::string & type() const
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:58
virtual StatusCode handle(const GslError &error) const
handle the GSL error
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
Definition of the basic interface.
Definition: IInterface.h:160
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
virtual ~GslErrorPrint()
destructor (protected and virtual)
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:24
virtual const IInterface * parent() const
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:65
virtual const std::string & name() const
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:51