|
Gaudi Framework, version v22r2 |
| Home | Generated: Tue May 10 2011 |
#include "GaudiKernel/HistoryObj.h"#include <string>#include <vector>#include <utility>#include <iosfwd>#include <ctime>

Go to the source code of this file.
Classes | |
| class | JobHistory |
| JobHistory class definition. More... | |
Functions | |
| GAUDI_API std::ostream & | operator<< (std::ostream &lhs, const JobHistory &rhs) |
| GAUDI_API std::ostream& operator<< | ( | std::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;
}