ifw-core  5.0.0-pre2
Namespaces | Functions
system.cpp File Reference
#include <chrono>
#include <core/utils/base/base.hpp>
#include <core/utils/string/string.hpp>
#include <core/utils/system/system.hpp>

Namespaces

 core
 
 core::utils
 
 core::utils::system
 

Functions

void core::utils::system::Assert (const bool condition, const std::string &message, const std::array< std::string, 3 > &location)
 
void core::utils::system::AssertPtr (const void *ptr, const std::string &object, std::array< std::string, 3 > &location)
 Check if pointer is NULL. If yes, throw std::runtime_error. More...
 
double core::utils::system::_Time ()
 
std::string core::utils::system::Platform ()
 Get the name of the platform (OS). More...
 
int64_t core::utils::system::Random (const int64_t min_val, const int64_t max_val)
 Generate an int64_t random number in the inteval specified. More...
 
double core::utils::system::Random (const double min_val, const double max_val)
 
std::string core::utils::system::ExecCommand (const std::string &command)
 Execute a shell command (synchroneously). More...