ATLAS Offline Software
|
Go to the source code of this file.
Macros | |
#define | RETURN_CHECK(CONTEXT, EXP) |
Helper macro for checking return codes in a compact form in the code. More... | |
#define RETURN_CHECK | ( | CONTEXT, | |
EXP | |||
) |
Helper macro for checking return codes in a compact form in the code.
This is pretty much a rip-off of the (ATH_)CHECK macros of the offline code. It is used in the package in functions that return a StatusCode, and themselves call functions returning StatusCode.
CONTEXT | A context string to print an error message on failure |
EXP | The expression to execute in a checked manner |
Definition at line 27 of file ReturnCheck.h.