aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
utils_string_inl.h File Reference

Contains usefull methods for random stuff. More...

#include <algorithm>
#include <agrum/base/core/utils_string.h>
Include dependency graph for utils_string_inl.h:
This graph shows which files directly or indirectly include this file:

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 str)
 Returns the lowercase version of str.
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 (const std::string &s)
 remove all newlines in a string
bool gum::isInteger (const std::string &val)
 return true is a string contains an integer value
bool gum::isNumerical (const std::string &val)
 return true is a string contains a numerical (double) value
std::string gum::trim_copy (const std::string &s)
 trim from both ends (copying)

Detailed Description

Contains usefull methods for random stuff.

Author
Vincent RENAUDINEAU and Pierre-Henri WUILLEMIN(_at_LIP6)

Definition in file utils_string_inl.h.