The Gaudi Framework
v30r3 (a5ef0a68)
|
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 65 of file StatusCode.h.
|
defaultnoexcept |
|
inlinevirtual |
Definition at line 67 of file StatusCode.h.
|
inlinevirtual |
|
inlinevirtual |
Is code considered success ?
!
isSuccess() Definition at line 77 of file StatusCode.h.
|
inlinevirtual |
Description for code within this category.
Definition at line 73 of file StatusCode.h.
|
pure virtual |
Name of the category.