15 #ifndef BORNAGAIN_BASE_UTILS_SYSUTILS_H
16 #define BORNAGAIN_BASE_UTILS_SYSUTILS_H
25 std::string getCurrentDateAndTime();
31 std::string
getenv(
const std::string& name);
Utility functions getCurrentDateAndTime, enableFloatingPointExceptions.
std::string getenv(const std::string &name)
Returns environment variable.
void enableFloatingPointExceptions()
Enables exception throw in the case of NaN, Inf.
bool isWindowsHost()
Returns true if operation system is Windows.