-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//! Save the jobs in the list "jobs_list" to the XML file "jobs_file".
static void saveJobs(const char* jobs_file, const std::list<const Job *> & jobs_list);
+ static Job* createJobFromString(const std::string& jobDump);
+ static std::string dumpJob(const Job& job);
+
private:
// This class is static only, not instanciable
XML_Persistence() {}
static Job * createJobFromXmlNode(xmlNodePtr job_node);
static void parseUserNode(Job * new_job, xmlNodePtr user_node);
static void parseRunNode(Job * new_job, xmlNodePtr run_node);
- static resourceParams parseResourceNode(xmlNodePtr res_node);
+ static void parseResourceNode(Job * new_job, xmlNodePtr res_node);
// Useful wrappers around libxml2 functions