Gaudi Framework, version v21r9

Home   Generated: 3 May 2010

JobHistory.h File Reference

#include "GaudiKernel/HistoryObj.h"
#include <string>
#include <vector>
#include <utility>
#include <iosfwd>
#include <ctime>

Include dependency graph for JobHistory.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  JobHistory
 JobHistory class definition. More...

Functions

GAUDI_API std::ostreamoperator<< (std::ostream &lhs, const JobHistory &rhs)


Function Documentation

GAUDI_API std::ostream& operator<< ( std::ostream lhs,
const JobHistory rhs 
)

Definition at line 98 of file JobHistory.cpp.

00098                                                          {
00099   lhs << "Release: " << rhs.release_version() << endl;
00100   lhs << "OS:      " << rhs.os() << endl;
00101   lhs << "OS ver:  " << rhs.os_version() << endl;
00102   lhs << "Host:    " << rhs.hostname() << endl;
00103   lhs << "Machine: " << rhs.machine() << endl;
00104   lhs << "Run dir: " << rhs.dir() << endl;
00105   lhs << "CMTCONFIG: " << rhs.cmtconfig() << endl;
00106   lhs << "Job start time: " << rhs.start_time() << endl << endl;
00107   lhs << "Properties: [" << endl;;
00108   for ( JobHistory::PropertyList::const_iterator
00109         ipprop=rhs.properties().begin();
00110         ipprop!=rhs.properties().end(); ++ipprop ) {
00111      std::string client = ipprop->first;
00112      const Property* prop = ipprop->second;
00113      lhs << client << ":  ";
00114      prop->fillStream(lhs);
00115      lhs << endl;
00116   }
00117   lhs << "]" << endl;
00118   vector<string> env = rhs.environment();
00119   for (vector<string>::const_iterator itr=env.begin();  itr != env.end(); 
00120        ++itr) {
00121     lhs << *itr << endl;
00122   }
00123   return lhs;
00124 }


Generated at Mon May 3 12:17:52 2010 for Gaudi Framework, version v21r9 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004