GGS(GenericGEANT4Simulation)Software
2.7.0
|
#include <regex>
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
GGSStringUtils | |
A namespace with some utility methods for strings. | |
Typedefs | |
using | Tokens = std::vector< std::string > |
Functions | |
Tokens | GGSStringUtils::Tokenize (const std::string &str, char delimiter= ' ') |
Extracts words from a string. More... | |
std::string | GGSStringUtils::Trim (const std::string &str) |
Trims a string. More... | |
bool | GGSStringUtils::IsInteger (const std::string &str) |
Checks if a string is an a integer. More... | |
bool | GGSStringUtils::IsReal (const std::string &str) |
Checks if a string is a real number. More... | |
bool | GGSStringUtils::IsGlobExpression (const std::string &str) |
Check if the given string is a glob expression. More... | |
std::string | GGSStringUtils::RegexFromGlob (const std::string &str) |
Build a regex starting from a glob expression. More... | |
StringUtils namespace declaration.
Definition in file GGSStringUtils.h.