Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to set configuration items without parsing the value
[simgrid.git] / include / simgrid / s4u / Engine.hpp
index c35db1d..39aa01f 100644 (file)
@@ -160,6 +160,10 @@ public:
    * e->set_config("host/model:ptask_L07");
    */
   void set_config(const std::string& str);
+  void set_config(const std::string& name, int value);
+  void set_config(const std::string& name, bool value);
+  void set_config(const std::string& name, double value);
+  void set_config(const std::string& name, std::string value);
 
   /** Callback fired when the platform is created (ie, the xml file parsed),
    * right before the actual simulation starts. */