| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Functions
StatusCode.h File Reference
`#include <ostream>`
`#include "GaudiKernel/Kernel.h"`
`#include "GaudiKernel/IssueSeverity.h"`
`#include <memory>`
Include dependency graph for StatusCode.h:

Go to the source code of this file.

## Classes
class | IgnoreError
class | StatusCode
| This class is used for returning status codes from appropriate routines. More...
class | StatusCode::ScopedDisableChecking
| Simple RAII class to ignore unchecked StatusCode instances in a scope. More...

## Functions
std::ostream & | operator<< (std::ostream &s, const StatusCode &sc)

## Function Documentation

std::ostream& operator<< | ( | std::ostream & | s,
|  | const StatusCode & | sc
| ) |  |
| inline

Definition at line 186 of file StatusCode.h.

187 {
188 if ( sc.isSuccess() ) { return s << "SUCCESS" ; }
189 if ( sc.isRecoverable() ) { return s << "RECOVERABLE" ; }
190 s << "FAILURE" ;
191 return ( StatusCode::FAILURE != sc.getCode() ) ? s << "(" << sc.getCode() << ")"
192 : s ;
193 }
StatusCode::FAILURE
Definition: StatusCode.h:29
StatusCode::getCode
unsigned long getCode() const
Get the status code by value.
Definition: StatusCode.h:91
StatusCode::isSuccess
bool isSuccess() const
Test for a status code of SUCCESS.
Definition: StatusCode.h:74
StatusCode::isRecoverable
bool isRecoverable() const
Definition: StatusCode.h:85
gaudirun.s
string s
Definition: gaudirun.py:245