ACE_Ascii_To_Wide Class Reference

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

#include <ace_wchar.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Private Member Functions

 ACE_Ascii_To_Wide (void)
 Disallow these operation.
 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.


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  ) 

Ctor must take a wchar string.

ACE_Ascii_To_Wide::~ACE_Ascii_To_Wide ( void   ) 

Dtor 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::wchar_rep ( void   ) 

Return the internal wchar* representation.

static wchar_t* ACE_Ascii_To_Wide::convert ( const char *  str  )  [static]

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]


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 file:

Generated on Wed Apr 23 02:37:58 2008 for ACE by  doxygen 1.5.5