MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Static Public Member Functions
mds::sys::tStringConv Class Reference

Class providing functions to convert between various string encodings. More...

#include <mdsString.h>

List of all members.

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.

Detailed Description

Class providing functions to convert between various string encodings.


Member Function Documentation

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.


The documentation for this class was generated from the following files: