ACE  6.4.2
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ACE_Ascii_To_Wide Class Reference

A lightweight char* to wchar* string conversion class. More...

#include <ace_wchar.h>

Public Member Functions

 ACE_Ascii_To_Wide (const char *s)
 Constructor must take a wchar string. More...
 
 ~ACE_Ascii_To_Wide (void)
 Destructor will free up the memory. More...
 
wchar_t * wchar_rep (void)
 Return the internal wchar* representation. More...
 

Static Public Member Functions

static wchar_t * convert (const char *str)
 Converts an char string to unicode/wide and returns a new string. More...
 

Private Member Functions

 ACE_Ascii_To_Wide (void)
 Disallow these operation. More...
 
 ACE_Ascii_To_Wide (ACE_Ascii_To_Wide &)
 
ACE_Ascii_To_Wide operator= (ACE_Ascii_To_Wide &)
 

Private Attributes

wchar_t * s_
 Internal pointer to the converted string. More...
 

Detailed Description

A lightweight char* to wchar* string conversion class.

The purpose of this class is to perform conversion from char* to wchar* strings. It is not intended for general purpose use.

Constructor & Destructor Documentation

ACE_Ascii_To_Wide::ACE_Ascii_To_Wide ( const char *  s)
inline

Constructor must take a wchar string.

ACE_Ascii_To_Wide::~ACE_Ascii_To_Wide ( void  )
inline

Destructor will free up the memory.

ACE_Ascii_To_Wide::ACE_Ascii_To_Wide ( void  )
private

Disallow these operation.

ACE_Ascii_To_Wide::ACE_Ascii_To_Wide ( ACE_Ascii_To_Wide )
private

Member Function Documentation

wchar_t * ACE_Ascii_To_Wide::convert ( const char *  str)
inlinestatic

Converts an char string to unicode/wide and returns a new string.

ACE_Ascii_To_Wide ACE_Ascii_To_Wide::operator= ( ACE_Ascii_To_Wide )
private
wchar_t * ACE_Ascii_To_Wide::wchar_rep ( void  )
inline

Return the internal wchar* representation.

Member Data Documentation

wchar_t* ACE_Ascii_To_Wide::s_
private

Internal pointer to the converted string.


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