![]() |
The Gaudi Framework
master (ff829712)
|
The category assigned to a StatusCode. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h>
Public Member Functions | |
constexpr | Category () noexcept=default |
virtual | ~Category () |
virtual const char * | name () const =0 |
Name of the category. | |
virtual std::string | message (code_t code) const |
Description for code within this category. | |
virtual bool | isSuccess (code_t code) const |
Is code considered success ? | |
virtual bool | isRecoverable (code_t code) const |
Is code considered recoverable ? | |
The category assigned to a StatusCode.
Derive from this class to implement your own category. The mapping of StatusCode values to success and recoverable conditions can be defined by overriding the appropriate methods.
|
constexprdefaultnoexcept |
|
inlinevirtual |
Definition at line 79 of file StatusCode.h.
|
inlinevirtual |
Is code considered recoverable ?
Reimplemented in Gaudi::Functional::FilterDecisionErrorCategory.
Definition at line 92 of file StatusCode.h.
|
inlinevirtual |
Is code considered success ?
!
isSuccess() Reimplemented in Gaudi::Functional::FilterDecisionErrorCategory.
Definition at line 89 of file StatusCode.h.
|
inlinevirtual |
Description for code within this category.
Reimplemented in Gaudi::Functional::FilterDecisionErrorCategory.
Definition at line 85 of file StatusCode.h.
|
pure virtual |
Name of the category.
Implemented in Gaudi::Functional::FilterDecisionErrorCategory.