57 #pragma warning(disable:4290)
107 MENGE_API
float toFloat(
const std::string & value )
throw( UtilException );
117 MENGE_API
int toInt(
const std::string & value )
throw( UtilException );
128 MENGE_API
size_t toSize_t(
const std::string & value )
throw( UtilException );
131 #endif // __UTILS_H__
UtilException()
Default constructor.
Definition: Utils.h:70
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Sets up the proper compiler directives for platform and dll export/import.
size_t toSize_t(const std::string &value)
Converts a string to a size_t.
Definition: Utils.cpp:72
Exception thrown when a utility function fails..
Definition: Utils.h:65
int toInt(const std::string &value)
Converts a string to an int.
Definition: Utils.cpp:60
The base definition for exceptions in Menge.
UtilFatalException(const std::string &s)
Constructor with message.
Definition: Utils.h:97
Base exception class for menge operations.
Definition: MengeException.h:58
Base class for fatal exceptions.
Definition: MengeException.h:99
float toFloat(const std::string &value)
Converts a string to a float.
Definition: Utils.cpp:48
Exception thrown when the utility functions have an error which cannot be recovered from...
Definition: Utils.h:85
UtilException(const std::string &s)
Constructor with message.
Definition: Utils.h:77
UtilFatalException()
Default constructor.
Definition: Utils.h:90