#include <StringUtils.hpp>
|
template<typename StringType > |
static void | Trim (StringType &str) |
|
template<typename StringType > |
static void | TrimLeft (StringType &str) |
|
template<typename StringType > |
static void | TrimRight (StringType &str) |
|
template<typename StringType > |
static void | Lower (StringType &str) |
|
template<typename StringType > |
static auto | LowerCopy (const StringType &str) |
|
template<typename StringType > |
static void | Upper (StringType &str) |
|
template<typename StringType > |
static auto | UpperCopy (const StringType &str) |
|
template<typename StringType > |
static bool | StartsWith (const StringType &str, const StringType &prefix) |
|
template<typename StringType > |
static bool | EndsWith (const StringType &str, const StringType &suffix) |
|
template<typename StringType > |
static std::vector< StringType > | Split (const StringType &str, const typename std::string::value_type delimiter) |
|
template<typename StringType > |
static bool | Contains (const StringType &str, const StringType &other) |
|
static std::wstring | StringToWString (const std::string &str) |
|
static std::string | WStringToString (const std::wstring &wstr) |
|
template<typename T , typename StringType > |
static T | To (const StringType &str) |
|
Definition at line 19 of file StringUtils.hpp.
◆ Contains()
template<typename StringType >
static bool StringUtils::Contains |
( |
const StringType & |
str, |
|
|
const StringType & |
other |
|
) |
| |
|
inlinestatic |
◆ EndsWith()
template<typename StringType >
static bool StringUtils::EndsWith |
( |
const StringType & |
str, |
|
|
const StringType & |
suffix |
|
) |
| |
|
inlinestatic |
◆ Lower()
template<typename StringType >
static void StringUtils::Lower |
( |
StringType & |
str | ) |
|
|
inlinestatic |
◆ LowerCopy()
template<typename StringType >
static auto StringUtils::LowerCopy |
( |
const StringType & |
str | ) |
|
|
inlinestatic |
◆ Split()
template<typename StringType >
static std::vector<StringType> StringUtils::Split |
( |
const StringType & |
str, |
|
|
const typename std::string::value_type |
delimiter |
|
) |
| |
|
inlinestatic |
◆ StartsWith()
template<typename StringType >
static bool StringUtils::StartsWith |
( |
const StringType & |
str, |
|
|
const StringType & |
prefix |
|
) |
| |
|
inlinestatic |
◆ StringToWString()
static std::wstring StringUtils::StringToWString |
( |
const std::string & |
str | ) |
|
|
inlinestatic |
◆ To()
template<typename T , typename StringType >
static T StringUtils::To |
( |
const StringType & |
str | ) |
|
|
inlinestatic |
◆ Trim()
template<typename StringType >
static void StringUtils::Trim |
( |
StringType & |
str | ) |
|
|
inlinestatic |
◆ TrimLeft()
template<typename StringType >
static void StringUtils::TrimLeft |
( |
StringType & |
str | ) |
|
|
inlinestatic |
◆ TrimRight()
template<typename StringType >
static void StringUtils::TrimRight |
( |
StringType & |
str | ) |
|
|
inlinestatic |
◆ Upper()
template<typename StringType >
static void StringUtils::Upper |
( |
StringType & |
str | ) |
|
|
inlinestatic |
◆ UpperCopy()
template<typename StringType >
static auto StringUtils::UpperCopy |
( |
const StringType & |
str | ) |
|
|
inlinestatic |
◆ WStringToString()
static std::string StringUtils::WStringToString |
( |
const std::wstring & |
wstr | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: