xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <convert_string.h>
Represents API to convert string containers.
Inherits xtd::static_object.
Static Public Member Functions | |
static std::string | to_string (char *str) noexcept |
Converts char* to std::string. More... | |
static std::string | to_string (char16_t *str) noexcept |
Converts char16_t* to std::string. More... | |
static std::string | to_string (char32_t *str) noexcept |
Converts char32_t* to std::string. More... | |
static std::string | to_string (char8_t *str) noexcept |
Converts char8_t* to std::string. More... | |
static std::string | to_string (const char *str) noexcept |
Converts const char* to std::string. More... | |
static std::string | to_string (const char16_t *str) noexcept |
Converts const char16_t* to std::string. More... | |
static std::string | to_string (const char32_t *str) noexcept |
Converts const char32_t* to std::string. More... | |
static std::string | to_string (const char8_t *str) noexcept |
Converts const char8_t* to std::string. More... | |
static const std::string & | to_string (const std::string &str) noexcept |
Converts std::string to std::string. More... | |
static std::string | to_string (const std::u16string &str) noexcept |
Converts std::u16string to std::string. More... | |
static std::string | to_string (const std::u32string &str) noexcept |
Converts std::u32string to std::string. More... | |
static std::string | to_string (const std::u8string &str) noexcept |
Converts std::u8string to std::string. More... | |
static std::string | to_string (const std::wstring &str) noexcept |
Converts std::wstring to std::string. More... | |
static std::string | to_string (const wchar_t *str) noexcept |
Converts const wchar_t* to std::string. More... | |
static std::string | to_string (const xtd::ustring &str) noexcept |
Converts xtd::ustring to std::string. More... | |
static std::string | to_string (wchar_t *str) noexcept |
Converts wchar_t* to std::string. More... | |
static std::u16string | to_u16string (char *str) noexcept |
Converts char* to std::u16string. More... | |
static std::u16string | to_u16string (char16_t *str) noexcept |
Converts char16_t* to std::u16string. More... | |
static std::u16string | to_u16string (char32_t *str) noexcept |
Converts char32_t* to std::u16string. More... | |
static std::u16string | to_u16string (char8_t *str) noexcept |
Converts char8_t* to std::u16string. More... | |
static std::u16string | to_u16string (const char *str) noexcept |
Converts const char* to std::u16string. More... | |
static std::u16string | to_u16string (const char16_t *str) noexcept |
Converts const char16_t* to std::u16string. More... | |
static std::u16string | to_u16string (const char32_t *str) noexcept |
Converts const char32_t* to std::u16string. More... | |
static std::u16string | to_u16string (const char8_t *str) noexcept |
Converts const char8_t* to std::u16string. More... | |
static std::u16string | to_u16string (const std::string &str) noexcept |
Converts std::string to std::u16string. More... | |
static const std::u16string & | to_u16string (const std::u16string &str) noexcept |
Converts std::u16string to std::u16string. More... | |
static std::u16string | to_u16string (const std::u32string &str) noexcept |
Converts std::u32string to std::u16string. More... | |
static std::u16string | to_u16string (const std::u8string &str) noexcept |
Converts std::u8string to std::u16string. More... | |
static std::u16string | to_u16string (const std::wstring &str) noexcept |
Converts std::wstring to std::u16string. More... | |
static std::u16string | to_u16string (const wchar_t *str) noexcept |
Converts const wchar_t* to std::u16string. More... | |
static std::u16string | to_u16string (const xtd::ustring &str) noexcept |
Converts xtd::ustring to std::u16string. More... | |
static std::u16string | to_u16string (wchar_t *str) noexcept |
Converts wchar_t* to std::u16string. More... | |
static std::u32string | to_u32string (char *str) noexcept |
Converts char* to std::u32string. More... | |
static std::u32string | to_u32string (char16_t *str) noexcept |
Converts char16_t* to std::u32string. More... | |
static std::u32string | to_u32string (char32_t *str) noexcept |
Converts char32_t* to std::u32string. More... | |
static std::u32string | to_u32string (char8_t *str) noexcept |
Converts char8_t* to std::u32string. More... | |
static std::u32string | to_u32string (const char *str) noexcept |
Converts const char* to std::u32string. More... | |
static std::u32string | to_u32string (const char16_t *str) noexcept |
Converts const char16_t* to std::u32string. More... | |
static std::u32string | to_u32string (const char32_t *str) noexcept |
Converts const char32_t* to std::u32string. More... | |
static std::u32string | to_u32string (const char8_t *str) noexcept |
Converts const char8_t* to std::u32string. More... | |
static std::u32string | to_u32string (const std::string &str) noexcept |
Converts std::string to std::u32string. More... | |
static std::u32string | to_u32string (const std::u16string &str) noexcept |
Converts std::u16string to std::u32string. More... | |
static const std::u32string & | to_u32string (const std::u32string &str) noexcept |
Converts std::u32string to std::u32string. More... | |
static std::u32string | to_u32string (const std::u8string &str) noexcept |
Converts std::u8string to std::u32string. More... | |
static std::u32string | to_u32string (const std::wstring &str) noexcept |
Converts std::wstring to std::u32string. More... | |
static std::u32string | to_u32string (const wchar_t *str) noexcept |
Converts const wchar_t* to std::u32string. More... | |
static std::u32string | to_u32string (const xtd::ustring &str) noexcept |
Converts xtd::ustring to std::u32string. More... | |
static std::u32string | to_u32string (wchar_t *str) noexcept |
Converts wchar_t* to std::u32string. More... | |
static std::u8string | to_u8string (char *str) noexcept |
Converts char* to std::u8string. More... | |
static std::u8string | to_u8string (char16_t *str) noexcept |
Converts char16_t* to std::u8string. More... | |
static std::u8string | to_u8string (char32_t *str) noexcept |
Converts char32_t* to std::u8string. More... | |
static std::u8string | to_u8string (char8_t *str) noexcept |
Converts char8_t* to std::u8string. More... | |
static std::u8string | to_u8string (const char *str) noexcept |
Converts const char* to std::u8string. More... | |
static std::u8string | to_u8string (const char16_t *str) noexcept |
Converts const char16_t* to std::u8string. More... | |
static std::u8string | to_u8string (const char32_t *str) noexcept |
Converts const char32_t* to std::u8string. More... | |
static std::u8string | to_u8string (const char8_t *str) noexcept |
Converts const char8_t* to std::u8string. More... | |
static std::u8string | to_u8string (const std::string &str) noexcept |
Converts std::string to std::u8string. More... | |
static std::u8string | to_u8string (const std::u16string &str) noexcept |
Converts std::u16string to std::u8string. More... | |
static std::u8string | to_u8string (const std::u32string &str) noexcept |
Converts std::u32string to std::u8string. More... | |
static const std::u8string & | to_u8string (const std::u8string &str) noexcept |
Converts std::u8string to std::u8string. More... | |
static std::u8string | to_u8string (const std::wstring &str) noexcept |
Converts std::wstring to std::u8string. More... | |
static std::u8string | to_u8string (const wchar_t *str) noexcept |
Converts const wchar_t* to std::u8string. More... | |
static std::u8string | to_u8string (const xtd::ustring &str) noexcept |
Converts xtd::ustring to std::u8string. More... | |
static std::u8string | to_u8string (wchar_t *str) noexcept |
Converts wchar_t* to std::u8string. More... | |
static xtd::ustring | to_ustring (char *str) noexcept |
Converts char* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (char16_t *str) noexcept |
Converts char16_t* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (char32_t *str) noexcept |
Converts char32_t* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (char8_t *str) noexcept |
Converts char8_t* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const char *str) noexcept |
Converts const char* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const char16_t *str) noexcept |
Converts const char16_t* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const char32_t *str) noexcept |
Converts const char32_t* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const char8_t *str) noexcept |
Converts const char8_t* to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const std::string &str) noexcept |
Converts std::string to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const std::u16string &str) noexcept |
Converts std::u16string to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const std::u32string &str) noexcept |
Converts std::u32string to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const std::u8string &str) noexcept |
Converts std::u8string to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const std::wstring &str) noexcept |
Converts std::wstring to xtd::ustring. More... | |
static xtd::ustring | to_ustring (const wchar_t *str) noexcept |
Converts const wchar_t* to xtd::ustring. More... | |
static const xtd::ustring & | to_ustring (const xtd::ustring &str) noexcept |
Converts xtd::ustring to xtd::ustring. More... | |
static xtd::ustring | to_ustring (wchar_t *str) noexcept |
Converts wchar_t* to xtd::ustring. More... | |
static std::wstring | to_wstring (char *str) noexcept |
Converts char* to std::wstring. More... | |
static std::wstring | to_wstring (char16_t *str) noexcept |
Converts char16_t* to std::wstring. More... | |
static std::wstring | to_wstring (char32_t *str) noexcept |
Converts char32_t* to std::wstring. More... | |
static std::wstring | to_wstring (char8_t *str) noexcept |
Converts char8_t* to std::wstring. More... | |
static std::wstring | to_wstring (const char *str) noexcept |
Converts const char* to std::wstring. More... | |
static std::wstring | to_wstring (const char16_t *str) noexcept |
Converts const char16_t* to std::wstring. More... | |
static std::wstring | to_wstring (const char32_t *str) noexcept |
Converts const char32_t* to std::wstring. More... | |
static std::wstring | to_wstring (const char8_t *str) noexcept |
Converts const char8_t* to std::wstring. More... | |
static std::wstring | to_wstring (const std::string &str) noexcept |
Converts std::string to std::wstring. More... | |
static std::wstring | to_wstring (const std::u16string &str) noexcept |
Converts std::u16string to std::wstring. More... | |
static std::wstring | to_wstring (const std::u32string &str) noexcept |
Converts std::u32string to std::wstring. More... | |
static std::wstring | to_wstring (const std::u8string &str) noexcept |
Converts std::u8string to std::wstring. More... | |
static const std::wstring & | to_wstring (const std::wstring &str) noexcept |
Converts std::wstring to std::wstring. More... | |
static std::wstring | to_wstring (const wchar_t *str) noexcept |
Converts const wchar_t* to std::wstring. More... | |
static std::wstring | to_wstring (const xtd::ustring &str) noexcept |
Converts xtd::ustring to std::wstring. More... | |
static std::wstring | to_wstring (wchar_t *str) noexcept |
Converts wchar_t* to std::wstring. More... | |
|
staticnoexcept |
Converts char* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts char16_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts char32_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts char8_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts const char* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts const char16_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts const char32_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts const char8_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts std::string to std::string.
str | string to convert. |
|
staticnoexcept |
Converts std::u16string to std::string.
str | string to convert. |
|
staticnoexcept |
Converts std::u32string to std::string.
str | string to convert. |
|
staticnoexcept |
Converts std::u8string to std::string.
str | string to convert. |
|
staticnoexcept |
Converts std::wstring to std::string.
str | string to convert. |
|
staticnoexcept |
Converts const wchar_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts xtd::ustring to std::string.
str | string to convert. |
|
staticnoexcept |
Converts wchar_t* to std::string.
str | string to convert. |
|
staticnoexcept |
Converts char* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts char16_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts char32_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts char8_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts const char* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts const char16_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts const char32_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts const char8_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts std::string to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts std::u16string to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts std::u32string to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts std::u8string to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts std::wstring to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts const wchar_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts xtd::ustring to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts wchar_t* to std::u16string.
str | string to convert. |
|
staticnoexcept |
Converts char* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts char16_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts char32_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts char8_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts const char* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts const char16_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts const char32_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts const char8_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts std::string to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts std::u16string to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts std::u32string to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts std::u8string to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts std::wstring to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts const wchar_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts xtd::ustring to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts wchar_t* to std::u32string.
str | string to convert. |
|
staticnoexcept |
Converts char* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts char16_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts char32_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts char8_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts const char* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts const char16_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts const char32_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts const char8_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts std::string to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts std::u16string to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts std::u32string to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts std::u8string to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts std::wstring to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts const wchar_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts xtd::ustring to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts wchar_t* to std::u8string.
str | string to convert. |
|
staticnoexcept |
Converts char* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts char16_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts char32_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts char8_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts const char* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts const char16_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts const char32_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts const char8_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts std::string to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts std::u16string to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts std::u32string to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts std::u8string to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts std::wstring to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts const wchar_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts xtd::ustring to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts wchar_t* to xtd::ustring.
str | string to convert. |
|
staticnoexcept |
Converts char* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts char16_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts char32_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts char8_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts const char* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts const char16_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts const char32_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts const char8_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts std::string to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts std::u16string to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts std::u32string to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts std::u8string to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts std::wstring to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts const wchar_t* to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts xtd::ustring to std::wstring.
str | string to convert. |
|
staticnoexcept |
Converts wchar_t* to std::wstring.
str | string to convert. |