Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to set configuration items without parsing the value
[simgrid.git] / src / s4u / s4u_Engine.cpp
index b0b12b5..c4ecd81 100644 (file)
@@ -401,6 +401,23 @@ void Engine::set_config(const std::string& str)
 {
   config::set_parse(str);
 }
+void Engine::set_config(const std::string& name, int value)
+{
+  config::set_value(name.c_str(), value);
+}
+void Engine::set_config(const std::string& name, double value)
+{
+  config::set_value(name.c_str(), value);
+}
+void Engine::set_config(const std::string& name, bool value)
+{
+  config::set_value(name.c_str(), value);
+}
+void Engine::set_config(const std::string& name, std::string value)
+{
+  config::set_value(name.c_str(), value);
+}
+
 } // namespace s4u
 } // namespace simgrid