summaryrefslogtreecommitdiff
path: root/ace/SString.h
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-12 19:01:05 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-12 19:01:05 +0000
commit238389b7285c989146e2dcc396869fe5d266f4a7 (patch)
treebb5ec9a1c265851977d93513b6a4757630a56792 /ace/SString.h
parent97ca30912aed8eecc91d8edf9b7db5c2e0ef4148 (diff)
downloadATCD-238389b7285c989146e2dcc396869fe5d266f4a7.tar.gz
ChangeLogTag:Fri May 12 11:25:10 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/SString.h')
-rw-r--r--ace/SString.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ace/SString.h b/ace/SString.h
index 3a86f38cb8c..7fd0cda8fab 100644
--- a/ace/SString.h
+++ b/ace/SString.h
@@ -235,6 +235,14 @@ public:
ACE_Allocator *alloc = 0);
// Constructor that copies <s> into dynamically allocated memory.
+#if defined (ACE_WSTRING_HAS_USHORT_SUPPORT)
+ ACE_WString (const ACE_USHORT16 *s,
+ size_t len,
+ ACE_Allocator *alloc = 0);
+ // Constructor that takes in a ushort16 string (mainly used by the
+ // ACE Name_Space classes)
+#endif /* ACE_WSTRING_HAS_USHORT_SUPPORT */
+
ACE_WString (const ACE_WSTRING_TYPE *s,
size_t len,
ACE_Allocator *alloc = 0);
@@ -294,6 +302,11 @@ public:
char *char_rep (void) const;
// Transform into a copy of the ASCII character representation.
+ // (caller must delete)
+
+ ACE_USHORT16 *ushort_rep (void) const;
+ // Transform into a copy of a USHORT16 representation (caller must
+ // delete). Note, behavior is undefined when sizeof (wchar_t) != 2.
const ACE_WSTRING_TYPE *fast_rep (void) const;
// Get at the underlying representation directly!