|
Volume Cartographer 2.28.0
|
#include <algorithm>#include <iomanip>#include <locale>#include <sstream>#include <string>#include <string_view>#include <tuple>#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | volcart |
| Volume Cartographer library | |
Functions | |
| static void | volcart::to_upper (std::string &s) |
| Convert string characters to upper case (in place) More... | |
| static std::string | volcart::to_upper (std::string &&s) |
| Convert string characters to upper case (r-value) More... | |
| static std::string | volcart::to_upper_copy (std::string s) |
| Convert string characters to upper case (copy) More... | |
| static void | volcart::to_lower (std::string &s) |
| Convert string characters to lower case (in place) More... | |
| static std::string | volcart::to_lower (std::string &&s) |
| Convert string characters to lower case (r-value) More... | |
| static std::string | volcart::to_lower_copy (std::string s) |
| Convert string characters to lower case (copy) More... | |
| static auto | volcart::to_bool (const std::string &s) -> bool |
| Convert a string to a bool. More... | |
| static void | volcart::trim_left (std::string &s) |
| Left trim (in place) More... | |
| static std::string | volcart::trim_left (std::string &&s) |
| Left trim (r-value) More... | |
| static std::string | volcart::trim_left_copy (std::string s) |
| Left trim (copy) More... | |
| static void | volcart::trim_right (std::string &s) |
| Right trim (in place) More... | |
| static std::string | volcart::trim_right (std::string &&s) |
| Right trim (r-value) More... | |
| static std::string | volcart::trim_right_copy (std::string s) |
| Right trim (copy) More... | |
| static void | volcart::trim (std::string &s) |
| Trim from both ends (in place) More... | |
| static std::string | volcart::trim (std::string &&s) |
| Trim from both ends (r-value) More... | |
| static std::string | volcart::trim_copy (std::string s) |
| Right trim (copy) More... | |
| template<typename... Ds> | |
| static std::vector< std::string > | volcart::split (const std::string &s, const Ds &... ds) |
| Split a string by a delimiter. More... | |
| static auto | volcart::partition (std::string_view s, std::string_view sep) -> std::tuple< std::string, std::string, std::string > |
| Partition a string by a separator substring. More... | |
| template<typename Integer , std::enable_if_t< std::is_integral_v< Integer >, bool > = true> | |
| auto | volcart::to_padded_string (Integer val, const int padding, const char fill='0') -> std::string |
| Convert an Integer to a padded string. More... | |