![]() |
The Gaudi Framework
v40r0 (475e45c1)
|
#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. More... | |
| virtual std::string | message (code_t code) const |
| Description for code within this category. More... | |
| virtual bool | isSuccess (code_t code) const |
| Is code considered success ? More... | |
| virtual bool | isRecoverable (code_t code) const |
| Is code considered recoverable ? More... | |
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.
Definition at line 77 of file StatusCode.h.
|
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.