4 * Auteur : Ivan DUTKA-MALEN - EDF R&D
5 * Mail : mailto:ivan.dutka-malen@der.edf.fr
6 * Date : Thu Nov 6 10:05:30 2003
14 //#include "MEDMEM_STRING.hxx"
15 #include "Batch_JobInfo.hxx"
26 // Operateur pour l'affichage sur un stream
27 ostream & operator <<(ostream & os, const JobInfo & ji)
29 return os << ji.__str__();
33 // Methodes pour l'interfacage avec Python (SWIG) : affichage en Python
34 string JobInfo::__str__() const
38 sst << "<JobInfo (" << this << ") :" << endl;
39 sst << " ID = " <<_param[ID] << endl;
41 sst << " + Parametre :" << endl;
42 Parametre::const_iterator itp;
43 for(itp=_param.begin(); itp!=_param.end(); itp++) {
44 if ( (*itp).first != ID ) {
45 sst << " * " << (*itp).first << " = " << (*itp).second << endl;
49 sst << " + Environnement :" << endl;
50 Environnement::const_iterator ite;
51 for(ite=_env.begin(); ite!=_env.end(); ite++) {
52 sst << " * " << (*ite).first << " = " << (*ite).second << endl;
61 Parametre JobInfo::getParametre() const
67 Environnement JobInfo::getEnvironnement() const