![]() |
The Gaudi Framework
v31r0 (aeb156f0)
|
The category assigned to a StatusCode. More...
#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 63 of file StatusCode.h.
|
defaultnoexcept |
|
inlinevirtual |
Definition at line 65 of file StatusCode.h.
|
inlinevirtual |
|
inlinevirtual |
Is code considered success ?
!
isSuccess() Definition at line 75 of file StatusCode.h.
|
inlinevirtual |
Description for code within this category.
Definition at line 71 of file StatusCode.h.
|
pure virtual |
Name of the category.