#include <ostream>#include "GaudiKernel/IssueSeverity.h"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] |
| bool operator> | ( | const StatusCode & | a, | |
| const StatusCode & | b | |||
| ) | [inline] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const StatusCode & | sc | |||
| ) | [inline] |
Definition at line 181 of file StatusCode.h.
00182 { 00183 if ( sc.isSuccess() ) { return s << "SUCCESS" ; } 00184 else if ( sc.isRecoverable() ) { return s << "RECOVERABLE" ; } 00185 s << "FAILURE" ; 00186 if ( StatusCode::FAILURE != sc.getCode() ) 00187 { s << "(" << sc.getCode() << ")" ;} 00188 return s ; 00189 }
1.4.7