1 #ifndef GAUDIGSL_GSLERRORCOUNT_H 2 #define GAUDIGSL_GSLERRORCOUNT_H 1 67 #endif // GAUDIGSL_GSLERRORCOUNT_H StatusCode handle(const GslError &error) const override
handle the GSL error
Helper class to represent GSL errors.
~GslErrorCount() override=default
destructor (protected and virtual)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
GslErrorCount(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
This class is used for returning status codes from appropriate routines.
std::map< GslError, unsigned int > Counters
container of error counters
Definition of the basic interface.
Base class used to extend a class implementing other interfaces.
Concrete GSL error handler It is just counts number of GSL errors.
StatusCode finalize() override
standard finalization of Tool