ACE 8.0.0
|
A lightweight wchar* to char* string conversion class. More...
#include <ace_wchar.h>
Public Member Functions | |
ACE_Wide_To_Ascii (const wchar_t *s) | |
Constructor must take a wchar string. | |
~ACE_Wide_To_Ascii () | |
Destructor will free up the memory. | |
char * | char_rep () |
Return the internal char* representation. | |
Static Public Member Functions | |
static char * | convert (const wchar_t *wstr) |
Converts an wchar_t string to ascii and returns a new string. | |
Private Member Functions | |
ACE_Wide_To_Ascii () | |
Disallow these operation. | |
ACE_Wide_To_Ascii (ACE_Wide_To_Ascii &) | |
ACE_Wide_To_Ascii & | operator= (ACE_Wide_To_Ascii &) |
Private Attributes | |
char * | s_ |
Internal pointer to the converted string. | |
A lightweight wchar* to char* string conversion class.
The purpose of this class is to perform conversion from wchar* to char* strings. It is not intended for general purpose use.
|
inline |
Constructor must take a wchar string.
|
inline |
Destructor will free up the memory.
|
private |
Disallow these operation.
|
private |
|
inline |
Return the internal char* representation.
Converts an wchar_t string to ascii and returns a new string.
|
private |
|
private |
Internal pointer to the converted string.