ACE_OS_CString3
A lightweight char* to wchar* string conversion class.
Usage
#include <ace/OS.h>
class ACE_OS_CString
{
public:
ACE_OS_CString (const char *s);
~ACE_OS_CString (void);
ACE_USHORT16 *wchar_rep (void);
private:
ACE_USHORT16 *rep_;
ACE_OS_CString (void);
ACE_OS_CString (ACE_OS_CString &);
ACE_OS_CString operator= (ACE_OS_CString &);
};
Overview
The purpose of this class is to perform conversion from char* to wchar* strings. It is not intended for general purpose use.
Public members
ACE_OS_CString (const char *s);
Ctor must take a wchar stirng.
~ACE_OS_CString (void);
Dtor will free up the memory.
ACE_USHORT16 *wchar_rep (void);
Return the internal char* representation.
Private members
ACE_USHORT16 *rep_;
Internal pointer to the converted string.
ACE_OS_CString (void);
ACE_OS_CString (ACE_OS_CString &);
ACE_OS_CString operator= (ACE_OS_CString &);
Disallow these operation.
The ACE_Sched_Priority type should be used for platform-
independent thread and process priorities, by convention. int should be used for OS-specific priorities.
typedef for the _stat data structure
Giving unique ACE scoped names for some important
RTSignal-Related constants. Becuase sometimes, different platforms use different names for these constants.
Library
ace