Public Member Functions | Static Public Member Functions

cl7::strings::Converter Class Reference

#include <Converter.h>

Inheritance diagram for cl7::strings::Converter:
cl7::designpatterns::Singleton< Converter >

List of all members.

Public Member Functions

 Converter (void)
 ~Converter (void)

Static Public Member Functions

static void ansi_to_unicode (const cstring_type &ansi, wstring_type &unicode)
static void unicode_to_ansi (const wstring_type &unicode, cstring_type &ansi)
static wstring_type ansi_to_unicode (const cstring_type &ansi)
static cstring_type unicode_to_ansi (const wstring_type &unicode)
static wstring_type to_unicode (const string_type &str)
static cstring_type to_ansi (const string_type &str)
static string_type from_unicode (const wstring_type &str)
static string_type from_ansi (const cstring_type &str)

Constructor & Destructor Documentation

cl7::strings::Converter::Converter ( void   ) 

Default constructor.

cl7::strings::Converter::~Converter ( void   ) 

Destructor.


Member Function Documentation

void cl7::strings::Converter::ansi_to_unicode ( const cstring_type ansi,
wstring_type unicode 
) [static]

Converts a character string (UTF-8) to a wide character string (UTF-16).

wstring_type cl7::strings::Converter::ansi_to_unicode ( const cstring_type ansi  )  [static]

Converts a character string (UTF-8) to a wide character string (UTF-16).

string_type cl7::strings::Converter::from_ansi ( const cstring_type str  )  [static]

Converts a character string (UTF-8) to a "default" string, if necessary.

string_type cl7::strings::Converter::from_unicode ( const wstring_type str  )  [static]

Converts a wide character string (UTF-16) to a "default" string, if necessary.

cstring_type cl7::strings::Converter::to_ansi ( const string_type str  )  [static]

Converts a "default" string to a character string (UTF-8), if necessary.

wstring_type cl7::strings::Converter::to_unicode ( const string_type str  )  [static]

Converts a "default" string to a wide character string (UTF-16), if necessary.

void cl7::strings::Converter::unicode_to_ansi ( const wstring_type unicode,
cstring_type ansi 
) [static]

Converts a wide character string (UTF-16) to a character string (UTF-8).

cstring_type cl7::strings::Converter::unicode_to_ansi ( const wstring_type unicode  )  [static]

Converts a wide character string (UTF-16) to a character string (UTF-8).


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines