Reference

ACE_OS_WString(3)

A lightweight wchar* to char* string conversion class.

NAME

ACE_OS_WString - A lightweight wchar* to char* string conversion class.

SYNOPSIS

#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 &);
};

DESCRIPTION

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.

AUTHOR

Doug Schmidt [email protected], Jesper S. M|ller [email protected], and a cast of thousands...

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