| The Gaudi Framework v27r1

- 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:
This graph shows which files directly or indirectly include this file:

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 188 of file StatusCode.h.

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