|
ifw-core 6.0.0
|
#include <chrono>#include <ifw/core/utils/base/base.hpp>#include <ifw/core/utils/string/string.hpp>#include <ifw/core/utils/system/system.hpp>Namespaces | |
| namespace | ifw |
| namespace | ifw::core |
| namespace | ifw::core::utils |
| namespace | ifw::core::utils::system |
Functions | |
| void | ifw::core::utils::system::Assert (const bool condition, const std::string &message, const std::array< std::string, 3 > &location) |
| void | ifw::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. | |
| double | ifw::core::utils::system::_Time () |
| std::string | ifw::core::utils::system::Platform () |
| Get the name of the platform (OS). | |
| int64_t | ifw::core::utils::system::Random (const int64_t min_val, const int64_t max_val) |
| Generate an int64_t random number in the inteval specified. | |
| double | ifw::core::utils::system::Random (const double min_val, const double max_val) |
| std::string | ifw::core::utils::system::ExecCommand (const std::string &command) |
| Execute a shell command (synchroneously). | |