The Gaudi Framework  v36r1 (3e2fb5a8)
StatusCode::ScopedDisableChecking Class Reference

Simple RAII class to ignore unchecked StatusCode instances in a scope. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/StatusCode.h>

Detailed Description

Simple RAII class to ignore unchecked StatusCode instances in a scope.

Example:

void myFunction() {
StatusCode sc1 = aFunction(); // must be checked
{
StatusCode sc2 = anotherFunction(); // automatically ignored
}
}

Definition at line 296 of file StatusCode.h.


The documentation for this class was generated from the following file:
StatusCode
Definition: StatusCode.h:65
StatusCode::ScopedDisableChecking
Simple RAII class to ignore unchecked StatusCode instances in a scope.
Definition: StatusCode.h:296