ACE 8.0.1
Loading...
Searching...
No Matches
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.
 
 ~ACE_Ascii_To_Wide ()
 Destructor will free up the memory.
 
wchar_twchar_rep ()
 Return the internal wchar* representation.
 

Static Public Member Functions

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

Private Member Functions

 ACE_Ascii_To_Wide ()=delete
 Disallow these operation.
 
 ACE_Ascii_To_Wide (ACE_Ascii_To_Wide &)=delete
 
ACE_Ascii_To_Wide operator= (ACE_Ascii_To_Wide &)=delete
 

Private Attributes

wchar_ts_
 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() [1/3]

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::~ACE_Ascii_To_Wide ( )
inline

Destructor will free up the memory.

◆ ACE_Ascii_To_Wide() [2/3]

ACE_Ascii_To_Wide::ACE_Ascii_To_Wide ( )
privatedelete

Disallow these operation.

◆ ACE_Ascii_To_Wide() [3/3]

ACE_Ascii_To_Wide::ACE_Ascii_To_Wide ( ACE_Ascii_To_Wide & )
privatedelete

Member Function Documentation

◆ convert()

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

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

◆ operator=()

ACE_Ascii_To_Wide ACE_Ascii_To_Wide::operator= ( ACE_Ascii_To_Wide & )
privatedelete

◆ wchar_rep()

wchar_t * ACE_Ascii_To_Wide::wchar_rep ( )
inline

Return the internal wchar* representation.

Member Data Documentation

◆ s_

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: