JobCResult.cxx File Reference

#include "JobControl/JobCResult.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const JobCResult &r)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const JobCResult r 
)

Definition at line 12 of file JobCResult.cxx.

References JobCResult::BeginFile(), JobCResult::BeginOfInputStream(), JobCResult::BeginRun(), JobCResult::EndFile(), JobCResult::EndOfInputStream(), JobCResult::EndRun(), JobCResult::ErrorLevel(), JobCResult::Failed(), and JobCResult::Passed().

00013 {
00014   os << "[";
00015   if (r.ErrorLevel())       os << "E=" << r.ErrorLevel() << "/";
00016   if (r.Passed())           os << "P/";
00017   if (r.Failed())           os << "F/";
00018   if (r.BeginFile())        os << "BF/";
00019   if (r.EndFile())          os << "EF/";
00020   if (r.BeginRun())         os << "BR/";
00021   if (r.EndRun())           os << "ER/";
00022   if (r.BeginOfInputStream()) os << "BOF/";
00023   if (r.EndOfInputStream()) os << "EOF/";
00024   os << "]";
00025   return os;
00026 }


Generated on 10 Oct 2018 for loon by  doxygen 1.6.1