Reference

ACE_OS_CString(3)

A lightweight char* to wchar* string conversion class.

NAME

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

SYNOPSIS

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

DESCRIPTION

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.

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