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"
27 // Operateur pour l'affichage sur un stream
28 ostream & operator <<(ostream & os, const JobInfo & ji)
30 return os << ji.__str__();
34 // Methodes pour l'interfacage avec Python (SWIG) : affichage en Python
35 string JobInfo::__str__() const
39 sst << "<JobInfo (" << this << ") :" << endl;
40 sst << " ID = " <<_param[ID] << endl;
42 sst << " + Parametre :" << endl;
43 Parametre::const_iterator itp;
44 for(itp=_param.begin(); itp!=_param.end(); itp++) {
45 if ( (*itp).first != ID ) {
46 sst << " * " << (*itp).first << " = " << (*itp).second << endl;
50 sst << " + Environnement :" << endl;
51 Environnement::const_iterator ite;
52 for(ite=_env.begin(); ite!=_env.end(); ite++) {
53 sst << " * " << (*ite).first << " = " << (*ite).second << endl;
62 Parametre JobInfo::getParametre() const
68 Environnement JobInfo::getEnvironnement() const