ATLAS Offline Software
Loading...
Searching...
No Matches
StatusCode.h File Reference
#include <iostream>
Include dependency graph for Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h:

Go to the source code of this file.

Classes

class  TCS::StatusCode

Namespaces

namespace  TCS

Functions

std::ostream & operator<< (std::ostream &o, const TCS::StatusCode &sc)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & o,
const TCS::StatusCode & sc )
inline

Definition at line 57 of file Trigger/TrigT1/L1Topo/L1TopoCommon/L1TopoCommon/StatusCode.h.

57 {
58 if ( TCS::StatusCode::SUCCESS == sc.getCode() ) {
59 return o << "SUCCESS" ;
60 } else if ( sc.isRecoverable() ) {
61 return o << "RECOVERABLE";
62 }
63 o << "FAILURE" ;
64 if ( TCS::StatusCode::FAILURE != sc.getCode() ) {
65 o << "(" << sc.getCode() << ")" ;
66 }
67 return o;
68}
static Double_t sc