4 * Auteur : Ivan DUTKA-MALEN - EDF R&D
5 * Mail : mailto:ivan.dutka-malen@der.edf.fr
6 * Date : Fri Nov 21 09:42:05 2003
11 #ifndef _JOBINFO_PBS_H_
12 #define _JOBINFO_PBS_H_
16 #include <pbs_error.h>
20 #include "Batch_RunTimeException.hxx"
21 #include "Batch_JobInfo.hxx"
25 class JobInfo_PBS : public JobInfo
28 // Constructeurs et destructeur
29 JobInfo_PBS() : JobInfo() {};
30 JobInfo_PBS(struct batch_status * stat_list, bool tobedeleted = false);
31 virtual ~JobInfo_PBS();
33 // Constructeur par recopie
34 JobInfo_PBS(const JobInfo_PBS & jinfo) : JobInfo(jinfo) {};
36 // Methodes pour l'interfacage avec Python (SWIG)
37 // TODO : supprimer ces methodes et transferer leur definitions dans SWIG
38 std::string __str__() const; // SWIG : affichage en Python
39 std::string __repr__() const { return __str__(); }; // SWIG : affichage en Python
44 // Convertit une date HH:MM:SS en secondes
45 long HMStoLong(const std::string &);