Gaudi Framework, version v22r1

Home   Generated: Mon Feb 28 2011
Functions

JobHistory.cpp File Reference

#include "GaudiKernel/JobHistory.h"
#include "GaudiKernel/System.h"
#include "GaudiKernel/Property.h"
#include <cstdlib>
#include <iostream>
Include dependency graph for JobHistory.cpp:

Go to the source code of this file.

Functions

ostreamoperator<< (ostream &lhs, const JobHistory &rhs)

Function Documentation

ostream& operator<< ( ostream lhs,
const JobHistory rhs 
)

Definition at line 98 of file JobHistory.cpp.

                                                         {
  lhs << "Release: " << rhs.release_version() << endl;
  lhs << "OS:      " << rhs.os() << endl;
  lhs << "OS ver:  " << rhs.os_version() << endl;
  lhs << "Host:    " << rhs.hostname() << endl;
  lhs << "Machine: " << rhs.machine() << endl;
  lhs << "Run dir: " << rhs.dir() << endl;
  lhs << "CMTCONFIG: " << rhs.cmtconfig() << endl;
  lhs << "Job start time: " << rhs.start_time() << endl << endl;
  lhs << "Properties: [" << endl;;
  for ( JobHistory::PropertyList::const_iterator
        ipprop=rhs.properties().begin();
        ipprop!=rhs.properties().end(); ++ipprop ) {
     std::string client = ipprop->first;
     const Property* prop = ipprop->second;
     lhs << client << ":  ";
     prop->fillStream(lhs);
     lhs << endl;
  }
  lhs << "]" << endl;
  vector<string> env = rhs.environment();
  for (vector<string>::const_iterator itr=env.begin();  itr != env.end(); 
       ++itr) {
    lhs << *itr << endl;
  }
  return lhs;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Feb 28 2011 18:27:40 for Gaudi Framework, version v22r1 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004