ATLAS Offline Software
Static Public Member Functions | List of all members
asg::CheckHelper< StatusCode > Struct Reference

#include <MessageCheck.h>

Collaboration diagram for asg::CheckHelper< StatusCode >:

Static Public Member Functions

static bool isSuccess (const StatusCode &sc)
 whether the status code reports a success More...
 
static constexpr auto successCode ()
 produce a status code to report success More...
 
static constexpr auto failureCode ()
 produce a status code to report failure More...
 

Detailed Description

Definition at line 176 of file Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h.

Member Function Documentation

◆ failureCode()

static constexpr auto asg::CheckHelper< StatusCode >::failureCode ( )
inlinestaticconstexpr

produce a status code to report failure

Definition at line 187 of file Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h.

187  {
188  return StatusCode::FAILURE;}

◆ isSuccess()

static bool asg::CheckHelper< StatusCode >::isSuccess ( const StatusCode &  sc)
inlinestatic

whether the status code reports a success

Definition at line 179 of file Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h.

179  {
180  return sc.isSuccess(); }

◆ successCode()

static constexpr auto asg::CheckHelper< StatusCode >::successCode ( )
inlinestaticconstexpr

produce a status code to report success

Definition at line 183 of file Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h.

183  {
184  return StatusCode::SUCCESS;}

The documentation for this struct was generated from the following file:
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27