#include <StringWrapper.h>
Unsafe | |
| The following methods break the guarantee of a null-terminated buffer. The first two methods set the wrapped UnicodeString to be a read-only alias of the supplied buffer. The last method provides access to the raw UnicodeString. Use these methods only when you FULLY understand the possible consequences. | |
| enum | ALIAS { USE_ALIAS } |
| WideString (ALIAS, const UChar *text, int32_t len, bool isNullTerminated) | |
| WideString & | setTo (ALIAS, const UChar *text, int32_t len, bool isNullTerminated) |
| const UnicodeString & | getUnicodeString () const |
Public Member Functions | |
| WideString () | |
| WideString (const UChar *text) | |
| WideString (const UChar *text, int32_t len) | |
| WideString (const WideString &text) | |
| WideString (const WideString &text, int32_t start) | |
| WideString (const WideString &text, int32_t start, int32_t len) | |
| WideString (const char *text, int32_t len, UnicodeString::EInvariant) | |
| ~WideString () | |
Length | |
| bool | isEmpty () const |
| int32_t | length () const |
Assign | |
| WideString & | operator= (const WideString &text) |
| WideString & | operator= (const UnicodeString &text) |
| WideString & | operator= (const UChar *text) |
| WideString & | operator= (UChar ch) |
| WideString & | setTo (const WideString &text) |
| WideString & | setTo (const UnicodeString &text) |
| WideString & | setTo (const WideString &text, int32_t start) |
| WideString & | setTo (const WideString &text, int32_t start, int32_t len) |
| WideString & | setTo (const UChar *text) |
| WideString & | setTo (const UChar *text, int32_t len) |
| WideString & | setTo (const char *text, int32_t len, UnicodeString::EInvariant) |
| WideString & | setTo (UChar ch) |
Append | |
| WideString & | operator+= (const WideString &text) |
| WideString & | operator+= (const UChar *text) |
| WideString & | operator+= (UChar ch) |
| WideString & | append (const WideString &text) |
| WideString & | append (const WideString &text, int32_t start, int32_t len) |
| WideString & | append (const UChar *text, int32_t len) |
| WideString & | append (const UChar *text, int32_t start, int32_t len) |
| WideString & | append (UChar ch) |
Compare | |
| bool | operator== (const WideString &text) const |
| bool | operator!= (const WideString &text) const |
| bool | operator> (const WideString &text) const |
| bool | operator>= (const WideString &text) const |
| bool | operator< (const WideString &text) const |
| bool | operator<= (const WideString &text) const |
| int8_t | compare (const WideString &text) const |
| int8_t | compare (const WideString &text, int32_t len) const |
| int8_t | compare (const UChar *text) const |
| int8_t | compare (const UChar *text, int32_t len) const |
| int8_t | compare (int32_t start, int32_t len, const UChar *srcChars, int32_t srcStart, int32_t srcLength) const |
| int8_t | caseCompare (int32_t options, const WideString &text) const |
| int8_t | caseCompare (int32_t options, const UChar *text) const |
| int8_t | caseCompare (int32_t options, const WideString &text, int32_t len) const |
| int8_t | caseCompare (int32_t options, const UChar *text, int32_t len) const |
| int8_t | caseCompare (int32_t options, const WideString &text, int32_t start, int32_t len) const |
| int8_t | caseCompare (int32_t options, const UChar *text, int32_t start, int32_t len) const |
Character | |
| UChar | first () const |
| UChar | last () const |
| UChar | operator[] (int32_t offset) const |
| UChar | getCharAt (int32_t offset) const |
| WideString & | setCharAt (int32_t offset, UChar ch) |
Buffer | |
| const UChar * | getBuffer () const |
| UChar * | getBuffer (int32_t minCapacity) |
| void | releaseBuffer (int32_t newLength=-1) |
| int32_t | getCapacity () const |
| void | setCapacity (int32_t n) |
Delete | |
| WideString & | remove () |
| WideString & | remove (int32_t start, int32_t length=INT32_MAX) |
| bool | truncate (int32_t targetLength) |
Insert | |
| WideString & | insert (int32_t offset, const WideString &srcText, int32_t srcLen=-1) |
| WideString & | insert (int32_t offset, const UChar *srcText, int32_t srcLen=-1) |
| WideString & | insert (int32_t offset, UChar ch) |
Modify | |
| WideString & | toUpper () |
| WideString & | toLower () |
| WideString & | trim () |
Search | |
| int32_t | indexOf (UChar c, int32_t start=0) const |
| int32_t | indexOf (const WideString &text, int32_t start=0) const |
| int32_t | indexOf (const UChar *text, int32_t start=0) const |
| int32_t | indexOf (const char *text, int32_t start=0) const |
| int32_t | lastIndexOf (UChar c, int32_t start=0) const |
| int32_t | lastIndexOf (const WideString &text, int32_t start=0) const |
| int32_t | lastIndexOf (const UChar *text, int32_t start=0) const |
| int32_t | lastIndexOf (const char *text, int32_t start=0) const |
Replace | |
| WideString & | replace (int32_t start, int32_t length, UChar srcChar) |
| WideString & | replace (int32_t start, int32_t length, const WideString &srcText) |
| WideString & | replace (int32_t start, int32_t length, const UChar *srcText, int32_t srcLength=-1) |
| WideString & | findAndReplace (UChar chOld, UChar chNew) |
| WideString & | findAndReplace (const WideString &oldText, const WideString &newText) |
Format | |
String formatting functionality like sprintf. | |
| void | format (const char *a_pszFormat,...) |
| void | formatV (const char *a_pszFormat, va_list ap) |
Data Structures | |
| struct | LessNoCase |
| Case-insensitive comparisons for STL containers. More... | |
Definition at line 744 of file StringWrapper.h.
| enum WideString::ALIAS |
| WideString::WideString | ( | ) | [inline] |
Definition at line 751 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::WideString | ( | const UChar * | text | ) | [inline] |
Definition at line 757 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::WideString | ( | const UChar * | text, | |
| int32_t | len | |||
| ) | [inline] |
Definition at line 765 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::WideString | ( | const WideString & | text | ) | [inline] |
Definition at line 773 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT_, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::WideString | ( | const WideString & | text, | |
| int32_t | start | |||
| ) | [inline] |
Definition at line 782 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT_, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::WideString | ( | const WideString & | text, | |
| int32_t | start, | |||
| int32_t | len | |||
| ) | [inline] |
Definition at line 791 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT_, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::WideString | ( | const char * | text, | |
| int32_t | len, | |||
| UnicodeString::EInvariant | ||||
| ) | [inline] |
Definition at line 800 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_FALSE.
| WideString::~WideString | ( | ) | [inline] |
Definition at line 808 of file StringWrapper.h.
| WideString::WideString | ( | ALIAS | , | |
| const UChar * | text, | |||
| int32_t | len, | |||
| bool | isNullTerminated | |||
| ) | [inline] |
Definition at line 1377 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, STRINGWRAPPER_NULLSAFE_SET, and STRINGWRAPPER_OPENBUF_FALSE.
| bool WideString::isEmpty | ( | ) | const [inline] |
| int32_t WideString::length | ( | ) | const [inline] |
Definition at line 818 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT.
Referenced by caseCompare(), compare(), and ConvertUTF16toCP().
| WideString& WideString::operator= | ( | const WideString & | text | ) | [inline] |
Definition at line 827 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::operator= | ( | const UnicodeString & | text | ) | [inline] |
Definition at line 834 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::operator= | ( | const UChar * | text | ) | [inline] |
Definition at line 840 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::operator= | ( | UChar | ch | ) | [inline] |
Definition at line 846 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::setTo | ( | const WideString & | text | ) | [inline] |
Definition at line 852 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::setTo | ( | const UnicodeString & | text | ) | [inline] |
Definition at line 859 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::setTo | ( | const WideString & | text, | |
| int32_t | start | |||
| ) | [inline] |
Definition at line 865 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::setTo | ( | const WideString & | text, | |
| int32_t | start, | |||
| int32_t | len | |||
| ) | [inline] |
Definition at line 872 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::setTo | ( | const UChar * | text | ) | [inline] |
Definition at line 880 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::setTo | ( | const UChar * | text, | |
| int32_t | len | |||
| ) | [inline] |
Definition at line 886 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::setTo | ( | const char * | text, | |
| int32_t | len, | |||
| UnicodeString::EInvariant | ||||
| ) | [inline] |
Definition at line 899 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::setTo | ( | UChar | ch | ) | [inline] |
Definition at line 908 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::operator+= | ( | const WideString & | text | ) | [inline] |
Definition at line 918 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::operator+= | ( | const UChar * | text | ) | [inline] |
Definition at line 927 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::operator+= | ( | UChar | ch | ) | [inline] |
Definition at line 935 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::append | ( | const WideString & | text | ) | [inline] |
Definition at line 943 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::append | ( | const WideString & | text, | |
| int32_t | start, | |||
| int32_t | len | |||
| ) | [inline] |
Definition at line 952 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::append | ( | const UChar * | text, | |
| int32_t | len | |||
| ) | [inline] |
Definition at line 962 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::append | ( | const UChar * | text, | |
| int32_t | start, | |||
| int32_t | len | |||
| ) | [inline] |
Definition at line 971 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::append | ( | UChar | ch | ) | [inline] |
Definition at line 980 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| bool WideString::operator== | ( | const WideString & | text | ) | const [inline] |
Definition at line 992 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| bool WideString::operator!= | ( | const WideString & | text | ) | const [inline] |
Definition at line 998 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| bool WideString::operator> | ( | const WideString & | text | ) | const [inline] |
Definition at line 1004 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| bool WideString::operator>= | ( | const WideString & | text | ) | const [inline] |
Definition at line 1010 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| bool WideString::operator< | ( | const WideString & | text | ) | const [inline] |
Definition at line 1016 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| bool WideString::operator<= | ( | const WideString & | text | ) | const [inline] |
Definition at line 1022 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int8_t WideString::compare | ( | const WideString & | text | ) | const [inline] |
Definition at line 1028 of file StringWrapper.h.
References mStr, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int8_t WideString::compare | ( | const WideString & | text, | |
| int32_t | len | |||
| ) | const [inline] |
Definition at line 1034 of file StringWrapper.h.
References length(), mStr, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int8_t WideString::compare | ( | const UChar * | text | ) | const [inline] |
| int8_t WideString::compare | ( | const UChar * | text, | |
| int32_t | len | |||
| ) | const [inline] |
| int8_t WideString::compare | ( | int32_t | start, | |
| int32_t | len, | |||
| const UChar * | srcChars, | |||
| int32_t | srcStart, | |||
| int32_t | srcLength | |||
| ) | const [inline] |
| int8_t WideString::caseCompare | ( | int32_t | options, | |
| const WideString & | text | |||
| ) | const [inline] |
Definition at line 1061 of file StringWrapper.h.
References getBuffer(), length(), STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
Referenced by WideString::LessNoCase::operator()().
| int8_t WideString::caseCompare | ( | int32_t | options, | |
| const UChar * | text | |||
| ) | const [inline] |
| int8_t WideString::caseCompare | ( | int32_t | options, | |
| const WideString & | text, | |||
| int32_t | len | |||
| ) | const [inline] |
Definition at line 1072 of file StringWrapper.h.
References getBuffer(), length(), STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int8_t WideString::caseCompare | ( | int32_t | options, | |
| const UChar * | text, | |||
| int32_t | len | |||
| ) | const [inline] |
| int8_t WideString::caseCompare | ( | int32_t | options, | |
| const WideString & | text, | |||
| int32_t | start, | |||
| int32_t | len | |||
| ) | const [inline] |
Definition at line 1086 of file StringWrapper.h.
References getBuffer(), length(), STRINGWRAPPER_ASSERT, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int8_t WideString::caseCompare | ( | int32_t | options, | |
| const UChar * | text, | |||
| int32_t | start, | |||
| int32_t | len | |||
| ) | const [inline] |
Definition at line 1094 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT.
| UChar WideString::first | ( | ) | const [inline] |
Definition at line 1105 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT.
| UChar WideString::last | ( | ) | const [inline] |
Definition at line 1111 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT.
| UChar WideString::operator[] | ( | int32_t | offset | ) | const [inline] |
Definition at line 1117 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT.
| UChar WideString::getCharAt | ( | int32_t | offset | ) | const [inline] |
Definition at line 1123 of file StringWrapper.h.
| WideString& WideString::setCharAt | ( | int32_t | offset, | |
| UChar | ch | |||
| ) | [inline] |
Definition at line 1125 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| const UChar* WideString::getBuffer | ( | ) | const [inline] |
Definition at line 1138 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, STRINGWRAPPER_NULLSAFE_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT.
Referenced by caseCompare(), and ConvertUTF16toCP().
| UChar* WideString::getBuffer | ( | int32_t | minCapacity | ) | [inline] |
Definition at line 1145 of file StringWrapper.h.
References STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_TRUE.
| void WideString::releaseBuffer | ( | int32_t | newLength = -1 |
) | [inline] |
Definition at line 1151 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT_TRUE, and STRINGWRAPPER_OPENBUF_FALSE.
| int32_t WideString::getCapacity | ( | ) | const [inline] |
| void WideString::setCapacity | ( | int32_t | n | ) | [inline] |
| WideString& WideString::remove | ( | ) | [inline] |
Definition at line 1177 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::remove | ( | int32_t | start, | |
| int32_t | length = INT32_MAX | |||
| ) | [inline] |
Definition at line 1185 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| bool WideString::truncate | ( | int32_t | targetLength | ) | [inline] |
Definition at line 1193 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::insert | ( | int32_t | offset, | |
| const WideString & | srcText, | |||
| int32_t | srcLen = -1 | |||
| ) | [inline] |
Definition at line 1205 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::insert | ( | int32_t | offset, | |
| const UChar * | srcText, | |||
| int32_t | srcLen = -1 | |||
| ) | [inline] |
Definition at line 1213 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::insert | ( | int32_t | offset, | |
| UChar | ch | |||
| ) | [inline] |
Definition at line 1221 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::toUpper | ( | ) | [inline] |
Definition at line 1233 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::toLower | ( | ) | [inline] |
Definition at line 1241 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::trim | ( | ) | [inline] |
Definition at line 1249 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| int32_t WideString::indexOf | ( | UChar | c, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
| int32_t WideString::indexOf | ( | const WideString & | text, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
Definition at line 1266 of file StringWrapper.h.
References mStr, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int32_t WideString::indexOf | ( | const UChar * | text, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
| int32_t WideString::indexOf | ( | const char * | text, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
| int32_t WideString::lastIndexOf | ( | UChar | c, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
| int32_t WideString::lastIndexOf | ( | const WideString & | text, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
Definition at line 1287 of file StringWrapper.h.
References mStr, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| int32_t WideString::lastIndexOf | ( | const UChar * | text, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
| int32_t WideString::lastIndexOf | ( | const char * | text, | |
| int32_t | start = 0 | |||
| ) | const [inline] |
| WideString& WideString::replace | ( | int32_t | start, | |
| int32_t | length, | |||
| UChar | srcChar | |||
| ) | [inline] |
Definition at line 1307 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::replace | ( | int32_t | start, | |
| int32_t | length, | |||
| const WideString & | srcText | |||
| ) | [inline] |
Definition at line 1313 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| WideString& WideString::replace | ( | int32_t | start, | |
| int32_t | length, | |||
| const UChar * | srcText, | |||
| int32_t | srcLength = -1 | |||
| ) | [inline] |
Definition at line 1320 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::findAndReplace | ( | UChar | chOld, | |
| UChar | chNew | |||
| ) | [inline] |
Definition at line 1331 of file StringWrapper.h.
References STRINGWRAPPER_NULLSAFE_TRUE, and STRINGWRAPPER_OPENBUF_ASSERT.
| WideString& WideString::findAndReplace | ( | const WideString & | oldText, | |
| const WideString & | newText | |||
| ) | [inline] |
Definition at line 1339 of file StringWrapper.h.
References mStr, STRINGWRAPPER_NULLSAFE_TRUE, STRINGWRAPPER_OPENBUF_ASSERT, and STRINGWRAPPER_OPENBUF_ASSERT_.
| void WideString::format | ( | const char * | a_pszFormat, | |
| ... | ||||
| ) |
| void WideString::formatV | ( | const char * | a_pszFormat, | |
| va_list | ap | |||
| ) |
| WideString& WideString::setTo | ( | ALIAS | , | |
| const UChar * | text, | |||
| int32_t | len, | |||
| bool | isNullTerminated | |||
| ) | [inline] |
Definition at line 1386 of file StringWrapper.h.
References STRINGWRAPPER_ASSERT, STRINGWRAPPER_NULLSAFE_SET, and STRINGWRAPPER_OPENBUF_ASSERT.
| const UnicodeString& WideString::getUnicodeString | ( | ) | const [inline] |
Definition at line 1396 of file StringWrapper.h.
1.5.4