#include <SString.h>


Public Member Functions | |
| ACE_NS_WString (ACE_Allocator *alloc=0) | |
| Default constructor. | |
| ACE_NS_WString (const char *s, ACE_Allocator *alloc=0) | |
| Constructor that copies s into dynamically allocated memory. | |
| ACE_NS_WString (const ACE_WSTRING_TYPE *s, ACE_Allocator *alloc=0) | |
| Constructor that copies s into dynamically allocated memory. | |
| ACE_NS_WString (const ACE_USHORT16 *s, size_type len, ACE_Allocator *alloc=0) | |
| ACE_NS_WString (const ACE_WSTRING_TYPE *s, size_type len, ACE_Allocator *alloc=0) | |
| ACE_NS_WString (size_type len, ACE_Allocator *alloc=0) | |
| ACE_NS_WString (const ACE_NS_WString &s) | |
| Copy constructor. | |
| ACE_NS_WString (ACE_WSTRING_TYPE c, ACE_Allocator *alloc=0) | |
| Constructor that copies c into dynamically allocated memory. | |
| char * | char_rep (void) const |
| ACE_USHORT16 * | ushort_rep (void) const |
| ACE_NS_WString::ACE_NS_WString | ( | ACE_Allocator * | alloc = 0 |
) | [inline] |
Default constructor.
| ACE_NS_WString::ACE_NS_WString | ( | const char * | s, | |
| ACE_Allocator * | alloc = 0 | |||
| ) |
Constructor that copies s into dynamically allocated memory.
| ACE_NS_WString::ACE_NS_WString | ( | const ACE_WSTRING_TYPE * | s, | |
| ACE_Allocator * | alloc = 0 | |||
| ) | [inline] |
Constructor that copies s into dynamically allocated memory.
| ACE_NS_WString::ACE_NS_WString | ( | const ACE_USHORT16 * | s, | |
| size_type | len, | |||
| ACE_Allocator * | alloc = 0 | |||
| ) |
Constructor that takes in a ushort16 string (mainly used by the ACE Name_Space classes)
| ACE_NS_WString::ACE_NS_WString | ( | const ACE_WSTRING_TYPE * | s, | |
| size_type | len, | |||
| ACE_Allocator * | alloc = 0 | |||
| ) | [inline] |
Constructor that copies len ACE_WSTRING_TYPE's of s into dynamically allocated memory (will NUL terminate the result).
| ACE_NS_WString::ACE_NS_WString | ( | size_type | len, | |
| ACE_Allocator * | alloc = 0 | |||
| ) | [inline] |
Constructor that dynamically allocates memory for len + 1 ACE_WSTRING_TYPE characters. The newly created memory is set memset to 0.
| ACE_NS_WString::ACE_NS_WString | ( | const ACE_NS_WString & | s | ) | [inline] |
Copy constructor.
| ACE_NS_WString::ACE_NS_WString | ( | ACE_WSTRING_TYPE | c, | |
| ACE_Allocator * | alloc = 0 | |||
| ) | [inline] |
Constructor that copies c into dynamically allocated memory.
| char * ACE_NS_WString::char_rep | ( | void | ) | const |
Transform into a copy of the ASCII character representation. (caller must delete)
| ACE_USHORT16 * ACE_NS_WString::ushort_rep | ( | void | ) | const |
Transform into a copy of a USHORT16 representation (caller must delete). Note, behavior is undefined when sizeof (wchar_t) != 2.
1.5.8