#include "boost/preprocessor/facilities/overload.hpp"
#include <ostream>
#include <type_traits>
#include <utility>
#include "GaudiKernel/Kernel.h"
Go to the source code of this file.
◆ STATUSCODE_ENUM_DECL
| #define STATUSCODE_ENUM_DECL |
( |
|
ENUM | ) |
|
Value:template <> \
};
The category assigned to a StatusCode.
Declare an enum to be used as StatusCode value.
- Parameters
-
Definition at line 239 of file StatusCode.h.
◆ STATUSCODE_ENUM_IMPL
| #define STATUSCODE_ENUM_IMPL |
( |
|
... | ) |
BOOST_PP_OVERLOAD( STATUSCODE_ENUM_IMPL_, __VA_ARGS__ )( __VA_ARGS__ ) |
◆ STATUSCODE_ENUM_IMPL_1
◆ STATUSCODE_ENUM_IMPL_2
◆ operator &()
Ternary AND operator.
Definition at line 316 of file StatusCode.h.
316 {
return lhs &= rhs; }
◆ operator&=()
| bool& operator&= |
( |
bool & |
lhs, |
|
|
const StatusCode & |
sc |
|
) |
| |
|
inline |
Boolean AND assignment operator.
Definition at line 322 of file StatusCode.h.
◆ operator==()
- Note
- For code values
0(FAILURE) and 1(SUCCESS) the category is ignored
-
e.g.
sc==StatusCode::SUCCESS is equivalent to sc.isSuccess() for all categories
Definition at line 284 of file StatusCode.h.
code_t m_code
The status code value.
bool m_checked
If the StatusCode has been checked.
const Category * m_cat
The status code category.
◆ operator|()
Ternary OR operator.
Definition at line 319 of file StatusCode.h.
319 {
return lhs |= rhs; }
◆ operator|=()
| bool& operator|= |
( |
bool & |
lhs, |
|
|
const StatusCode & |
sc |
|
) |
| |
|
inline |
Boolean OR assignment operator.
Definition at line 325 of file StatusCode.h.