![]() |
aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
|
Contains useful methods for random stuff. More...
Go to the source code of this file.
Namespaces | |
| namespace | gum |
| gum is the global namespace for all aGrUM entities | |
Functions | |
| std::string | gum::toLower (std::string_view str) |
| Returns the lowercase version of str. | |
| bool | gum::contains (std::string_view s, std::string_view needle) |
| true if needle in s | |
| void | gum::ltrim (std::string &s) |
| trim from start (in place) | |
| void | gum::rtrim (std::string &s) |
| trim from end (in place) | |
| void | gum::trim (std::string &s) |
| trim from both ends (in place) | |
| std::string | gum::remove_newline (std::string_view s) |
| remove all newlines in a string | |
| bool | gum::isInteger (std::string_view val) |
| return true is a string contains an integer value | |
| bool | gum::isNumerical (std::string_view val) |
| return true is a string contains a numerical (double) value | |
| std::string | gum::trim_copy (std::string_view s) |
| trim from both ends (copying) | |
Contains useful methods for random stuff.
Definition in file utils_string_inl.h.