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

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.

Definition at line 224 of file ace_wchar.h.


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::convert const char *  str  )  [static]
 

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

Referenced by ACE_OS::ctime().

ACE_Ascii_To_Wide ACE_Ascii_To_Wide::operator= ACE_Ascii_To_Wide  )  [private]
 

wchar_t* ACE_Ascii_To_Wide::wchar_rep void   ) 
 

Return the internal wchar* representation.

Referenced by ACE_OS::ctime_r(), ACE_OS::dlsym(), ACE_OS::getcwd(), ACE_OS::mktemp(), and ACE_OS::realpath().


Member Data Documentation

wchar_t* ACE_Ascii_To_Wide::s_ [private]
 

Internal pointer to the converted string.

Definition at line 241 of file ace_wchar.h.


The documentation for this class was generated from the following file:
Generated on Sun Jan 27 12:54:00 2008 for ACE by doxygen 1.3.6