MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Class providing functions to convert between various string encodings. More...
#include <mdsString.h>
Static Public Member Functions | |
static tString | fromUtf8 (const std::string &str) |
Converts UTF8 string to the MDSTk string. | |
static tString | fromWChar (const std::wstring &str) |
Converts std::wstring to the MDSTk string. | |
static std::string | toUtf8 (const tString &str) |
Converts MDSTk string to the UTF8 encoding. | |
static std::wstring | toWChar (const tString &str) |
Converts MDSTk string to the std::wstring encoding. | |
static std::wstring | Utf8ToWChar (const std::string &str) |
Converts UTF8 string to the std::wstring. | |
static std::string | WCharToUtf8 (const std::wstring &str) |
Converts std::wstring to the UTF8 string. |
Class providing functions to convert between various string encodings.
static tString mds::sys::tStringConv::fromUtf8 | ( | const std::string & | str | ) | [static] |
Converts UTF8 string to the MDSTk string.
static tString mds::sys::tStringConv::fromWChar | ( | const std::wstring & | str | ) | [static] |
Converts std::wstring to the MDSTk string.
static std::string mds::sys::tStringConv::toUtf8 | ( | const tString & | str | ) | [static] |
Converts MDSTk string to the UTF8 encoding.
static std::wstring mds::sys::tStringConv::toWChar | ( | const tString & | str | ) | [static] |
Converts MDSTk string to the std::wstring encoding.
static std::wstring mds::sys::tStringConv::Utf8ToWChar | ( | const std::string & | str | ) | [static] |
Converts UTF8 string to the std::wstring.
static std::string mds::sys::tStringConv::WCharToUtf8 | ( | const std::wstring & | str | ) | [static] |
Converts std::wstring to the UTF8 string.