]> SALOME platform Git repositories - tools/libbatch.git/blobdiff - src/Core/JobInfo.hxx
Salome HOME
Integrate developments from N. Toukourou at INRIA (OAR and CooRM support)
[tools/libbatch.git] / src / Core / JobInfo.hxx
index 817c60eb4e85ca8ea5dbfae0ca178635e259e214..11b17aadec1de1aaa961389017be3851914fce79 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2013  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
@@ -36,6 +36,7 @@
 
 #include <iostream>
 #include <string>
+#include <vector>
 #include "Parametre.hxx"
 #include "Environnement.hxx"
 
@@ -60,6 +61,9 @@ namespace Batch {
     virtual Batch::Parametre getParametre() const;
     virtual Batch::Environnement getEnvironnement() const;
 
+    // To tokenize a string
+    static void Tokenize(const std::string& str, std::vector<std::string>& tokens, const std::string& delimiters = " ");
+
     // Methodes pour l'interfacage avec Python (SWIG)
     // TODO : supprimer ces methodes et transferer leur definitions dans SWIG
     std::string  __str__() const; // SWIG : affichage en Python