A static class to provide basic operations and variables for the libsmet library.
- Author
- Thomas Egger
|
static bool | validFileAndPath (const std::string &filename) |
|
static void | copy_file (const std::string &src, const std::string &dest) |
|
static bool | fileExists (const std::string &filename) |
|
static std::string | strToLower (std::string str) |
|
static double | convert_to_double (const std::string &in_string) |
|
static int | convert_to_int (const std::string &in_string) |
|
static char | convert_to_char (const std::string &in_string) |
|
static void | stripComments (std::string &str) |
|
static char | getEoln (std::istream &fin) |
|
static void | trim (std::string &str) |
|
static void | toUpper (std::string &str) |
|
static bool | readKeyValuePair (const std::string &in_line, const std::string &delimiter, std::map< std::string, std::string > &out_map) |
|
static size_t | readLineToVec (const std::string &line_in, std::vector< std::string > &vecString) |
|
static size_t | readLineToVec (const std::string &line_in, std::vector< std::string > &vecString, const char &delim) |
|
static bool | is_decimal (const std::string &value) |
|