ACE  6.1.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
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)
 Constructor must take a wchar string.
 ~ACE_Ascii_To_Wide (void)
 Destructor 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) [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) [inline, 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]
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines