![]() |
|
|
Generated: 18 Jul 2008 |
#include <ostream>
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 | |
| bool | operator< (const StatusCode &a, const StatusCode &b) |
| bool | operator> (const StatusCode &a, const StatusCode &b) |
| std::ostream & | operator<< (std::ostream &s, const StatusCode &sc) |
| bool operator< | ( | const StatusCode & | a, | |
| const StatusCode & | b | |||
| ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const StatusCode & | sc | |||
| ) | [inline] |
Definition at line 178 of file StatusCode.h.
References StatusCode::FAILURE, StatusCode::getCode(), StatusCode::isRecoverable(), StatusCode::isSuccess(), and Gaudi::Units::s.
00179 { 00180 if ( sc.isSuccess() ) { return s << "SUCCESS" ; } 00181 else if ( sc.isRecoverable() ) { return s << "RECOVERABLE" ; } 00182 s << "FAILURE" ; 00183 if ( StatusCode::FAILURE != sc.getCode() ) 00184 { s << "(" << sc.getCode() << ")" ;} 00185 return s ; 00186 }
| bool operator> | ( | const StatusCode & | a, | |
| const StatusCode & | b | |||
| ) | [inline] |