ATLAS Offline Software
Loading...
Searching...
No Matches
asg::CheckHelper< bool > Struct Reference

#include <MessageCheck.h>

Collaboration diagram for asg::CheckHelper< bool >:

Static Public Member Functions

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

Detailed Description

Member Function Documentation

◆ failureCode()

bool asg::CheckHelper< bool >::failureCode ( )
inlinestatic

produce a status code to report failure

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

218 {
219 return false;}

◆ isSuccess()

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

whether the status code reports a success

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

210 {
211 return sc; }
this is an internal traits class for status codes used by the ANA_CHECK* macros

◆ successCode()

bool asg::CheckHelper< bool >::successCode ( )
inlinestatic

produce a status code to report success

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

214 {
215 return true;}

The documentation for this struct was generated from the following file: