summaryrefslogtreecommitdiff
path: root/ace/SString.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-04 01:33:09 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-04 01:33:09 +0000
commitf11cd79bbe03a0e736f00dd9049fcd183e7ae8a8 (patch)
tree764052ec40148a542b2945fe4681e15edb83c150 /ace/SString.h
parent726a01ba923f214d09d545f65324cfbe3b57dcc6 (diff)
downloadATCD-f11cd79bbe03a0e736f00dd9049fcd183e7ae8a8.tar.gz
.
Diffstat (limited to 'ace/SString.h')
-rw-r--r--ace/SString.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ace/SString.h b/ace/SString.h
index b5dff14a6f1..a917cee8666 100644
--- a/ace/SString.h
+++ b/ace/SString.h
@@ -82,18 +82,18 @@ public:
// Assignment operator (does copy memory).
void set (const char *s, int release = 1);
- // Copy <s>
+ // Copy <s> into this <ACE_CString>.
- void set (const char *s, size_t len, int release = 1);
- // Copy <len> bytes of <s> (will NUL terminate the result)
+ void set (size_t len, const char *s, int release = 1);
+ // Copy <len> bytes of <s> (will NUL terminate the result).
ACE_CString substring (size_t offset, ssize_t length = -1) const;
// Return a substring given an offset and length, if length == -1
// use rest of str return empty substring if offset or offset/length
- // are invalid
+ // are invalid.
ACE_CString substr (size_t offset, ssize_t length = -1) const;
- // Same as substring
+ // Same as <substring>.
ACE_CString &operator += (const ACE_CString &);
// Concat operator (copies memory).
@@ -113,7 +113,7 @@ public:
// if it has length 0!
const char *c_str (void) const;
- // Same as STL String's c_str()
+ // Same as STL String's <c_str> and <fast_rep>.
int strstr (const ACE_CString &s) const;
// Comparison operator that will match substrings. Returns the
@@ -254,7 +254,7 @@ public:
// Get the underlying pointer.
const char *c_str (void) const;
- // Get the underlying pointer.
+ // Same as STL String's <c_str> and <fast_rep>.
int strstr (const ACE_SString &s) const;
// Comparison operator that will match substrings. Returns the
@@ -371,7 +371,7 @@ public:
void set (const ACE_USHORT16 *s);
// Copy <s>
- void set (const ACE_USHORT16 *s, size_t len);
+ void set (size_t len, const ACE_USHORT16 *s);
// Copy <len> bytes of <s> (will NUL terminate the result)
ACE_WString substring (size_t offset, ssize_t length = -1) const;
@@ -401,7 +401,7 @@ public:
// Get at the underlying representation directly!
const ACE_USHORT16 *c_str (void) const;
- // Same as STL String's c_str()
+ // Same as STL String's <c_str> and <fast_rep>.
int strstr (const ACE_WString &s) const;
// Comparison operator that will match substrings. Returns the