![]() |
ATLAS Offline Software
|
#include <CxxUtils/StringUtils.h>#include <limits>#include <array>#include <functional>#include <iostream>#include <sstream>#include <charconv>#include <algorithm>Go to the source code of this file.
Namespaces | |
| CxxUtils | |
Functions | |
| std::vector< std::string > | CxxUtils::tokenize (const std::string &the_str, std::string_view delimiters) |
| Splits the string into smaller substrings. More... | |
| std::vector< double > | CxxUtils::tokenizeDouble (const std::string &the_str, std::string_view delimiter) |
| std::string_view | CxxUtils::eraseWhiteSpaces (std::string_view str) |
| Removes all trailing and starting whitespaces from a string. More... | |
| std::vector< int > | CxxUtils::tokenizeInt (const std::string &the_str, std::string_view delimiter) |
| template<class dType > | |
| void | CxxUtils::convertToNumber (std::string_view str, dType &number) |
| int | CxxUtils::atoi (std::string_view str) |
| Helper functions to unpack numbers decoded in string into integers and doubles The strings are required to contain only digits, a floating point dot, the signs +- or a whitespace Exceptions are thrown otherwise. More... | |
| double | CxxUtils::atof (std::string_view str) |
| Converts a string into a double / float. More... | |
1.8.18