summaryrefslogtreecommitdiff
path: root/ace/SString.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-25 22:19:09 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-25 22:19:09 +0000
commitafca6635f6000dba2a21a923df11064cb2a9cbdb (patch)
tree6daa429aa9e8bf2e0d3f2154df1c9f285eb54e6b /ace/SString.h
parent54a8e3d3c941ee588b77f6b8526a023dffb59598 (diff)
downloadATCD-afca6635f6000dba2a21a923df11064cb2a9cbdb.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/SString.h')
-rw-r--r--ace/SString.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/SString.h b/ace/SString.h
index ca171353fb6..419b5db3ce8 100644
--- a/ace/SString.h
+++ b/ace/SString.h
@@ -80,6 +80,9 @@ public:
// _Don't_ even think about casting the result to (char *) and modifying it,
// if it has length 0!
+ const char *c_str (void) const;
+ // Same as STL String's c_str()
+
void operator += (const ACE_CString &);
// Concat operator (copies memory).
@@ -281,6 +284,9 @@ public:
const ACE_USHORT16 *fast_rep (void) const;
// Get at the underlying representation directly!
+ const ACE_USHORT16 *c_str (void) const;
+ // Same as STL String's c_str()
+
int strstr (const ACE_WString &s) const;
// Comparison operator that will match substrings. Returns the
// index of the first location that matches, else -1.