|
|
template<typename Type > |
Type | cppassist::string::fromString (const std::string &string) |
| Convert from std::string to Type. More...
|
|
template<> |
CPPASSIST_API char | cppassist::string::fromString< char > (const std::string &string) |
|
template<> |
CPPASSIST_API unsigned char | cppassist::string::fromString< unsigned char > (const std::string &string) |
|
template<> |
CPPASSIST_API bool | cppassist::string::fromString< bool > (const std::string &string) |
|
template<> |
CPPASSIST_API int | cppassist::string::fromString< int > (const std::string &string) |
|
|
template<typename Type > |
std::string | cppassist::string::toString (const Type &value) |
| Convert from Type to std::string. More...
|
|
template<> |
CPPASSIST_API std::string | cppassist::string::toString< char > (const char &value) |
|
template<> |
CPPASSIST_API std::string | cppassist::string::toString< unsigned char > (const unsigned char &value) |
|
template<> |
CPPASSIST_API std::string | cppassist::string::toString< bool > (const bool &value) |
|
|
CPPASSIST_API std::u32string | cppassist::string::encode (const std::string &input, Encoding encoding) |
| Encode string to UTF-32. More...
|
|
CPPASSIST_API std::u32string | cppassist::string::encode (const std::wstring &input, Encoding encoding) |
|
CPPASSIST_API std::u32string | cppassist::string::encode (const std::u16string &input, Encoding encoding) |
|
CPPASSIST_API std::u32string | cppassist::string::encode (const char *input, const size_t size, Encoding encoding) |
|
CPPASSIST_API void | cppassist::string::decode (const std::u32string &input, std::string &output, Encoding encoding) |
|
CPPASSIST_API void | cppassist::string::decode (const std::u32string &input, std::wstring &output, Encoding encoding) |
|
CPPASSIST_API void | cppassist::string::decode (const std::u32string &input, std::u16string &output, Encoding encoding) |
|
CPPASSIST_API void | cppassist::string::decode (const std::u32string &input, char *&output, std::size_t &size, Encoding encoding) |
|
|
CPPASSIST_API std::string | cppassist::string::toLower (const std::string &input) |
| Create lowercase string from input. More...
|
|
CPPASSIST_API std::string | cppassist::string::toLower (std::string &&input) |
|
|
CPPASSIST_API std::string | cppassist::string::toUpper (const std::string &input) |
| Create uppercase string from input. More...
|
|
CPPASSIST_API std::string | cppassist::string::toUpper (std::string &&input) |
|