| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
StatusCode.h File Reference
`#include <ostream>`
`#include "GaudiKernel/Kernel.h"`
`#include "GaudiKernel/IssueSeverity.h"`
`#include "boost/shared_ptr.hpp"`
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...

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

{
if ( sc.isSuccess() ) { return s << "SUCCESS" ; }
else if ( sc.isRecoverable() ) { return s << "RECOVERABLE" ; }
s << "FAILURE" ;
if ( StatusCode::FAILURE != sc.getCode() )
{ s << "(" << sc.getCode() << ")" ;}
return s ;
}