|
| G4bool | G4StrUtil::contains (const G4String &str, char ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| G4bool | G4StrUtil::contains (const G4String &str, const char *ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| G4bool | G4StrUtil::contains (const G4String &str, const G4String &ss) |
| |
| G4bool | G4StrUtil::contains (const G4String &str, std::string_view ss) |
| | Check if a string contains a given substring. More...
|
| |
| bool | G4StrUtil::ends_with (const G4String &str, const char *ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| bool | G4StrUtil::ends_with (const G4String &str, const G4String &ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| bool | G4StrUtil::ends_with (const G4String &str, G4String::value_type ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| bool | G4StrUtil::ends_with (const G4String &str, std::string_view ss) |
| | Return true if a string ends with a given suffix. More...
|
| |
| G4int | G4StrUtil::icompare (std::string_view lhs, std::string_view rhs) |
| | Case insensitive comparison of two strings. More...
|
| |
| void | G4StrUtil::lstrip (G4String &str, char c=' ') |
| | Remove leading characters from string. More...
|
| |
| G4String | G4StrUtil::lstrip_copy (G4String str, char c=' ') |
| | Return copy of string with leading characters removed. More...
|
| |
| std::istream & | G4StrUtil::readline (std::istream &is, G4String &str, G4bool skipWhite=true) |
| | Read characters into a G4String from an input stream until end-of-line. More...
|
| |
| void | G4StrUtil::rstrip (G4String &str, char c=' ') |
| | Remove trailing characters from string. More...
|
| |
| G4String | G4StrUtil::rstrip_copy (G4String str, char c=' ') |
| | Return copy of string with trailing characters removed. More...
|
| |
| void | G4StrUtil::safe_erase (G4String &str, G4String::size_type index=0, G4String::size_type count=G4String::npos) |
| | Remove specified in-range characters from string. More...
|
| |
| bool | G4StrUtil::starts_with (const G4String &str, const char *ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| bool | G4StrUtil::starts_with (const G4String &str, const G4String &ss) |
| |
| bool | G4StrUtil::starts_with (const G4String &str, G4String::value_type ss) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
| |
| bool | G4StrUtil::starts_with (const G4String &str, std::string_view ss) |
| | Return true if a string starts with a given prefix. More...
|
| |
| void | G4StrUtil::strip (G4String &str, char c=' ') |
| | Remove leading and trailing characters from string. More...
|
| |
| G4String | G4StrUtil::strip_copy (G4String str, char c=' ') |
| | Return copy of string with leading and trailing characters removed. More...
|
| |
| void | G4StrUtil::to_lower (G4String &str) |
| | Convert string to lowercase. More...
|
| |
| G4String | G4StrUtil::to_lower_copy (G4String str) |
| | Return lowercased copy of string. More...
|
| |
| void | G4StrUtil::to_upper (G4String &str) |
| | Convert string to uppercase. More...
|
| |
| G4String | G4StrUtil::to_upper_copy (G4String str) |
| | Return uppercase copy of string. More...
|
| |