|
| typedef object_type | data_type |
| |
| typedef UTF16TextChar & | reference_raw |
| |
| typedef const UTF16TextChar & | const_reference_raw |
| |
| typedef UTF16TextChar | value_type_raw |
| |
| typedef std::ptrdiff_t | difference_type |
| |
| typedef UTF16TextChar * | pointer_raw |
| |
| typedef const UTF16TextChar * | const_pointer_raw |
| |
| typedef UTF16TextChar * | iterator_raw |
| |
| typedef const UTF16TextChar * | const_iterator_raw |
| |
typedef K2Reverse_iterator < iterator_raw, value_type_raw, difference_type, pointer_raw, reference_raw > | reverse_iterator_raw |
| |
typedef K2Reverse_iterator < const_iterator_raw, value_type_raw, difference_type, const_pointer_raw, const_reference_raw > | const_reverse_iterator_raw |
| |
| typedef UTF32TextChar & | reference |
| |
| typedef const UTF32TextChar & | const_reference |
| |
| typedef UTF32TextChar | value_type |
| |
| typedef UTF32TextChar * | pointer |
| |
| typedef const UTF32TextChar * | const_pointer |
| |
| typedef WideStringConstUTF32Iter | const_iterator |
| |
typedef K2Reverse_iterator < const_iterator, value_type, difference_type, const_pointer, const_iterator::value_type > | const_reverse_iterator |
| |
| typedef int32 | size_type |
| |
| typedef std::ptrdiff_t | difference_type |
| |
| typedef UTF16TextChar | code_value |
| |
| typedef UTF32TextChar | code_point |
| |
| typedef code_value * | code_value_iterator |
| |
| typedef code_value const * | const_code_value_iterator |
| |
| typedef const UnicodeSavvyString & | const_reference |
| |
| typedef UTF16TextChar | value_type |
| |
|
| | WideString (WideString::const_pointer_raw s, int32 len=kMaxInt32, int32 numChars=-1) |
| |
| | WideString (const WideString::const_iterator &iter, int32 numChars) |
| |
| | WideString (const WideString &w) |
| |
| | WideString (WideString &&other) noexcept=default |
| |
| | WideString (ConstCString string, int32 numChars=-1) |
| |
| | WideString (const PMString &s) |
| |
| | WideString (const wchar_t *s, int32 len=kMaxInt32) |
| |
| template<class IteratorType > |
| | WideString (IteratorType b, IteratorType e, size_type nCodePoints=0) |
| |
| | WideString (adobe::move_from< WideString > other) |
| |
| | ~WideString () |
| |
| void | SetString (const WideString &s) |
| |
| void | SetString (const WideString::const_iterator &iter, int32 numChars) |
| |
| void | SetCString (ConstCString C, bool16 convertEmbeddedUnicode=kFalse, int32 numChars=-1) |
| |
| void | SetX16String (WideString::const_pointer_raw x, int32 len=kMaxInt32, int32 numChars=-1) |
| |
| void | SetX16String (const wchar_t *s, int32 len=kMaxInt32, int32 numChars=-1) |
| |
| iterator_raw | begin_raw () |
| |
| const_iterator_raw | begin_raw () const |
| |
| iterator_raw | end_raw () |
| |
| const_iterator_raw | end_raw () const |
| |
| reverse_iterator_raw | rbegin_raw () |
| |
| const_reverse_iterator_raw | rbegin_raw () const |
| |
| reverse_iterator_raw | rend_raw () |
| |
| const_reverse_iterator_raw | rend_raw () const |
| |
| const_iterator | begin () const |
| |
| const_iterator | end () const |
| |
| const_reverse_iterator | rbegin () const |
| |
| const_reverse_iterator | rend () const |
| |
| int32 | UTF16IndexToCodePointIndex (int32 index) const |
| |
| bool16 | empty () const |
| |
| void | Clear () |
| |
| int32 | Length () const |
| |
| bool16 | IsNull () const |
| |
| UTF32TextChar | GetChar (int32 pos) const |
| |
| UTF32TextChar | LastChar () const |
| |
| UTF32TextChar | FirstChar () const |
| |
| void | push_back (WideString::value_type c) |
| |
| void | Append (const WideString &s) |
| |
| void | Append (const WideString::const_iterator &iter, int32 numChars) |
| |
| void | Append (WideString::const_pointer_raw buf, int32 n, int32 numChars=-1) |
| |
| WideString & | append (WideString::const_pointer_raw s, size_type nCodeValues, size_type nCodePoints=0) |
| |
| WideString & | replace (const WideString::const_iterator &b, const WideString::const_iterator &e, const WideString &s) |
| |
| WideString & | replace (const WideString::const_iterator &b, const WideString::const_iterator &e, const WideString::const_iterator &br, const WideString::const_iterator &er) |
| |
| WideString & | erase (const WideString::const_iterator &b, const WideString::const_iterator &e) |
| |
| void | Append (WideString::value_type c32) |
| |
| void | Insert (const WideString &s, int32 position=0, int32 count=kMaxInt32) |
| |
| void | Insert (WideString::const_pointer_raw buf, int32 len, int32 pos=0) |
| |
| void | Insert (WideString::value_type c, int32 pos=0) |
| |
| WideString * | Substring (int32 position, int32 count=kMaxInt32) const |
| |
| WideString * | GetItem (const WideString &delimiter, const int32 nItem) const |
| |
| void | remove_raw (int32 utf16Pos, int32 utf16Count) |
| |
| void | RemoveCodePoints (int32 startCodePointIndex, int32 numCodePoints) |
| |
| int32 | IndexOf (const WideString &keyString, int32 position=0) const |
| |
| int32 | IndexOf (WideString::value_type c, int32 position=0) const |
| |
| bool16 | Contains (const WideString &key, int32 pos=0) const |
| |
| void | Shrink (bool16 maxshrink=kFalse) |
| |
| WideString & | operator= (const WideString &other) |
| |
| WideString & | operator= (WideString &&other) noexcept |
| |
| WideString & | operator= (WideString::const_pointer_raw copy) |
| |
| const UTF32TextChar | operator[] (int32 index) const |
| |
| void | SetChar (int32 index, WideString::value_type c32) |
| |
| int32 | compare (const WideString &s) const |
| |
| template<class IteratorType > |
| WideString & | assign (IteratorType b, IteratorType e, size_type nCodePoints=0) |
| |
| WideString & | assign (WideString::const_pointer_raw src, size_type nCodeValues, size_type nCodePoints=0) |
| |
| bool16 | operator>= (const WideString &s) const |
| |
| bool16 | operator> (const WideString &s) const |
| |
| bool16 | operator<= (const WideString &s) const |
| |
| bool16 | operator< (const WideString &s) const |
| |
| bool16 | operator== (const WideString &s) const |
| |
| bool16 | operator!= (const WideString &s) const |
| |
| bool16 | operator== (WideString::const_pointer_raw b) const |
| |
| bool16 | operator!= (const UTF16TextChar *b) const |
| |
| WideString & | operator+= (WideString::value_type c) |
| |
| WideString & | operator+= (const WideString &s) |
| |
| uint32 | Hash (void) const |
| |
| void | ToLower () |
| |
| void | ToUpper () |
| |
| int32 | Strip (WideString::value_type c) |
| |
| void | BuildFromSystemString (const PMString &ss) |
| |
| void | GetSystemString (PMString *ss) const |
| |
| void | ReadWrite (IPMStream *s) |
| |
| bool16 | HasMultiWordUnicode () const |
| |
| size_type | CharCount () const |
| |
| size_type | NumUTF16TextChars () const |
| |
| size_type | capacity (void) const |
| |
| void | reserve (size_type newCapacity) |
| |
| void | resize (size_type newSize, code_value fill=code_value()) |
| |
| void | clear () |
| |
| const UTF16TextChar * | GrabUTF16Buffer (int32 *numUTF16s) const |
| |
| int32 | CodePointIndexToUTF16Index (int32 index) const |
| |
| void | Truncate (CharCounter count) |
| |
| void | Remove (int32 position, CharCounter count) |
| |
| UTF32TextChar | GetUTF32TextChar (int32 pos) const |
| |
| const_code_value_iterator | begin () const |
| |
| const_code_value_iterator | end () const |
| |
|
| enum | { kMaxSmallString = 23 } |
| |
| | UnicodeSavvyString (adobe::move_from< UnicodeSavvyString > other) |
| |
| | UnicodeSavvyString (UnicodeSavvyString &&other) noexcept |
| |
| void | move_from (UnicodeSavvyString &other) noexcept |
| |
| template<class IteratorType > |
| | UnicodeSavvyString (IteratorType b, IteratorType e, size_type nCodePoints=0) |
| |
| int32 | CountChars () const |
| |
| int32 | CountCharsUtil (const UTF16TextChar *buffer, int32 bufferLength) const |
| |
| void | InsertGap (uint32 wordWiseIndex, size_type numberOfSpaces) |
| |
| void | RemoveGap (uint32 wordWiseIndex, size_type numberOfSpaces) |
| |
| void | InsertUTF32TextChar (UTF32TextChar c, int32 pos=0) |
| |
| void | InsertUTF16String (const UTF16TextChar *buf, int32 len, int32 position=0) |
| |
| void | AppendUTF32TextChar (UTF32TextChar c32) |
| |
| void | CopyFrom (const UnicodeSavvyString &other) |
| |
| bool16 | operator== (const UnicodeSavvyString &s) const |
| |
| template<class IteratorType > |
| UnicodeSavvyString & | assign (IteratorType b, IteratorType e, size_type nCodePoints=0) |
| |
| UnicodeSavvyString & | replace (size_type pos, size_type n1, code_value const *s, size_type n2) |
| |
| UnicodeSavvyString & | append (code_value const *s, size_type nCodeValues, size_type nCodePoints=0) |
| |
| UTF32TextChar | surro_GetUTF32TextChar (int32 pos) const |
| |
| const UTF16TextChar * | ConstBuffer () const |
| |
| void | insert_safe (code_value_iterator i, const_code_value_iterator sb, const_code_value_iterator se) |
| |
| void | erase_safe (code_value_iterator b, code_value_iterator e) |
| |
| void | replace_safe (code_value_iterator b, code_value_iterator e, const_code_value_iterator sb, const_code_value_iterator se) |
| |
| template<class InputIterator > |
| void | assign_impl (InputIterator b, InputIterator e, size_type nCodePoints, std::input_iterator_tag) |
| |
| template<class FwdIterator > |
| void | assign_impl (FwdIterator b, FwdIterator e, size_type nCodePoints, std::forward_iterator_tag) |
| |
| bool16 | UnicodeBufferIsValid () const |
| |
| UTF16TextChar * | GetBufferForWriting (size_type size) |
| |
| StringStorage * | fStorage |
| |
| UTF16TextChar | fSmallStorage [kMaxSmallString+1] |
| |
| size_type | fUTF16BufferLength |
| |
| size_type | fNumChars |
| |
WideString is the main Unicode string storage class.