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
16 #include "Batch_Parametre.hxx"
17 #include "Batch_Environnement.hxx"
24 // Constructeur standard et destructeur
25 JobInfo() : _param(), _env() {};
28 // Constructeur par recopie
29 JobInfo(const Batch::JobInfo & jinfo) : _param(jinfo._param), _env(jinfo._env) {};
31 // Operateur pour l'affichage sur un stream
32 friend std::ostream & operator <<(std::ostream & os, const Batch::JobInfo & ji);
35 virtual Batch::Parametre getParametre() const;
36 virtual Batch::Environnement getEnvironnement() const;
38 // Methodes pour l'interfacage avec Python (SWIG)
39 // TODO : supprimer ces methodes et transferer leur definitions dans SWIG
40 std::string __str__() const; // SWIG : affichage en Python
41 std::string __repr__() const { return __str__(); }; // SWIG : affichage en Python
44 Batch::Parametre _param; // parametres du job
45 Batch::Environnement _env; // variables d'environnement du job