The Gaudi Framework
master (37c0b60a)
|
#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 78 of file StatusCode.h.
|
constexprdefaultnoexcept |
|
inlinevirtual |
Definition at line 80 of file StatusCode.h.
|
inlinevirtual |
Is code considered recoverable ?
Reimplemented in Gaudi::Functional::FilterDecisionErrorCategory.
Definition at line 93 of file StatusCode.h.
|
inlinevirtual |
Is code considered success ?
!
isSuccess() Reimplemented in Gaudi::Functional::FilterDecisionErrorCategory.
Definition at line 90 of file StatusCode.h.
|
inlinevirtual |
Description for code within this category.
Reimplemented in Gaudi::Functional::FilterDecisionErrorCategory.
Definition at line 86 of file StatusCode.h.
|
pure virtual |
Name of the category.
Implemented in Gaudi::Functional::FilterDecisionErrorCategory.