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

#include <CorrectionCode.h>

Collaboration diagram for asg::CheckHelper< CP::CorrectionCode >:

Static Public Member Functions

static bool isSuccess (const CP::CorrectionCode &sc)
 whether the status code reports a success
static bool isOutOfValidityRange (const CP::CorrectionCode &sc)
 whether the status code reports out of validity
static CP::CorrectionCode successCode ()
 produce a status code to report success
static CP::CorrectionCode failureCode ()
 produce a status code to report failure

Detailed Description

Definition at line 80 of file CorrectionCode.h.

Member Function Documentation

◆ failureCode()

CP::CorrectionCode asg::CheckHelper< CP::CorrectionCode >::failureCode ( )
inlinestatic

produce a status code to report failure

Definition at line 95 of file CorrectionCode.h.

95 {
this is an internal traits class for status codes used by the ANA_CHECK* macros

◆ isOutOfValidityRange()

bool asg::CheckHelper< CP::CorrectionCode >::isOutOfValidityRange ( const CP::CorrectionCode & sc)
inlinestatic

whether the status code reports out of validity

Definition at line 87 of file CorrectionCode.h.

◆ isSuccess()

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

whether the status code reports a success

Definition at line 83 of file CorrectionCode.h.

83 {
84 return sc == CP::CorrectionCode::Ok; }

◆ successCode()

CP::CorrectionCode asg::CheckHelper< CP::CorrectionCode >::successCode ( )
inlinestatic

produce a status code to report success

Definition at line 91 of file CorrectionCode.h.

91 {

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