MEPP2 Project
|
Functions | |
std::vector< std::string > | split (const std::string &str, const std::string &delims, bool keep_empty_tokens=false) |
bool | is_equal (const std::string &str1, const std::string &str2) |
template<typename ConvertType > | |
void | convert (const std::string &str, ConvertType &elem) |
template<typename ConvertType > | |
ConvertType | convert (const std::string &str) |
template<typename ScalarType > | |
void | convert (const ScalarType &s, std::string &st) |
template<typename ScalarType > | |
std::string | convert (const ScalarType &s) |
bool | starts_with (const std::string &str, const std::string &prefix) |
std::string FEVV::StrUtils::convert | ( | const ScalarType & | s | ) |
Convert a data into a string.
Definition at line 116 of file StringUtilities.hpp.
void FEVV::StrUtils::convert | ( | const ScalarType & | s, |
std::string & | st | ||
) |
Convert a data into a string.
Definition at line 104 of file StringUtilities.hpp.
ConvertType FEVV::StrUtils::convert | ( | const std::string & | str | ) |
Convert a string into another type.
Definition at line 92 of file StringUtilities.hpp.
void FEVV::StrUtils::convert | ( | const std::string & | str, |
ConvertType & | elem | ||
) |
Convert a string into another type.
Definition at line 81 of file StringUtilities.hpp.
|
inline |
Returns true if the two strings are identical.
Definition at line 71 of file StringUtilities.hpp.
|
inline |
Split a string according to the provided delimiters.
Definition at line 35 of file StringUtilities.hpp.
|
inline |
Check if string str starts with string prefix.
Definition at line 128 of file StringUtilities.hpp.