![]() |
aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
|
Utilities for manipulating strings. More...
#include <charconv>#include <chrono>#include <filesystem>#include <sstream>#include <string>#include <agrum/base/core/utils_random.h>#include <agrum/base/core/utils_string.h>Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
Functions | |
| std::string | gum::getUniqueFileName () |
| Returns a path to a unique file name. | |
| bool | gum::endsWith (const std::string_view &value, const std::string_view &ending) |
| Returns true if value ends with ending. | |
| std::vector< std::string > | gum::split (std::string_view orig, std::string_view delimiter) |
| Split str using the delimiter. | |
| std::string | gum::replace (std::string_view s, std::string_view val, std::string_view new_val) |
| Replace val by new_val in s. | |
| bool | gum::isIntegerWithResult (std::string_view val, int *res) |
| return true is a string contains an integer value | |
| bool | gum::isNumericalWithResult (std::string_view val, double *res) |
| return true is a string contains a numerical (double) value | |
Utilities for manipulating strings.
Definition in file utils_string.cpp.