ACE_OS_WString3
A lightweight wchar* to char* string conversion class.
Usage
#include <ace/OS.h>
class ACE_OS_WString
{
public:
ACE_OS_WString (const ACE_USHORT16 *s);
~ACE_OS_WString (void);
char *char_rep (void);
private:
char *rep_;
ACE_OS_WString (void);
ACE_OS_WString (ACE_OS_WString &);
ACE_OS_WString& operator= (ACE_OS_WString &);
};
Overview
The purpose of this class is to perform conversion between wchar and char strings. It is not intended for general purpose use.
Public members
ACE_OS_WString (const ACE_USHORT16 *s);
Ctor must take a wchar stirng.
~ACE_OS_WString (void);
Dtor will free up the memory.
char *char_rep (void);
Return the internal char* representation.
Private members
char *rep_;
Internal pointer to the converted string.
ACE_OS_WString (void);
ACE_OS_WString (ACE_OS_WString &);
ACE_OS_WString& operator= (ACE_OS_WString &);
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