Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A string utility class and a new Exception (used to throw out of band exception)
[simgrid.git] / src / cxx / Msg.hpp
index 2ed2f96..048e38c 100644 (file)
@@ -24,6 +24,8 @@
 #include <InvalidArgumentException.hpp>\r
 #include <LogicException.hpp>\r
 \r
+#include <StringHelper.hpp>\r
+\r
 \r
 namespace SimGrid\r
 {\r
@@ -51,8 +53,15 @@ namespace SimGrid
                 *\r
                 * \param s                             The information to display.\r
                 */\r
+               SIMGRIDX_EXPORT void info(const StringHelper& s);\r
+\r
                SIMGRIDX_EXPORT void info(const char* s);\r
 \r
+               SIMGRIDX_EXPORT void error(const StringHelper& s);\r
+\r
+               SIMGRIDX_EXPORT void error(const char* s);\r
+\r
+\r
                /*! \brief getClock() -  Retrieve the simulation time\r
                 *\r
                 * \return                              The current simulation time.\r