diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-06-07 21:54:48 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-06-07 21:54:48 +0000 |
commit | 514af5982488fc39bd6d84cd1d0c136c8bd17770 (patch) | |
tree | 4ee79b964f09aae64e24e8317f94628fca3a2dcd /ace/SString.h | |
parent | 5530619ab5862a1d3471c9d18b35a650e13706ac (diff) | |
download | ATCD-514af5982488fc39bd6d84cd1d0c136c8bd17770.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SString.h')
-rw-r--r-- | ace/SString.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/SString.h b/ace/SString.h index cac2d5ea416..cb8ba36389d 100644 --- a/ace/SString.h +++ b/ace/SString.h @@ -90,6 +90,11 @@ public: // Return the <index'th> character in the string (doesn't perform // bounds checking). + ACE_CString substring (const size_t offset, const size_t length = -1); + // 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 + int operator== (const ACE_CString &s) const; // Equality comparison operator (must match entire string). @@ -252,6 +257,11 @@ public: void operator= (const ACE_WString &); // Assignment operator (does copy memory). + ACE_WString substring (const size_t offset, const size_t length = -1); + // 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. + void operator += (const ACE_WString &); // Concat operator (does copy memory). |