|
| | TText () noexcept |
| |
| | TText (const uint16_t *aText) noexcept |
| |
| | TText (const uint16_t *aText, size_t aLength) noexcept |
| |
| | TText (const char16_t *aText, size_t aLength) noexcept |
| |
| | TText (const MString &aString) noexcept |
| |
| | TText (const char16_t *aText) noexcept |
| |
| const uint16_t * | Text () const noexcept override |
| |
| virtual | ~MString () |
| |
| template<typename T > |
| MString & | operator= (const T &aText) |
| |
| template<typename T > |
| MString & | operator+= (const T &aText) |
| |
| size_t | Length () const |
| |
| bool | IsEmpty () const |
| |
| virtual const uint16_t * | Text () const =0 |
| |
| void | Delete (size_t aStart, size_t aEnd) |
| |
| void | Clear () |
| |
| void | SetLengthToZero () |
| |
| std::basic_string< uint16_t > | CreateUtf16String () const |
| |
| std::string | CreateUtf8String () const |
| |
| | operator std::string () const |
| |
| uint16_t | operator[] (size_t aIndex) const |
| |
| TText | First (size_t aLength) const |
| |
| TText | Last (size_t aLength) const |
| |
| void | DeletePrefix (const MString &aPrefix) |
| |
| void | DeleteSuffix (const MString &aSuffix) |
| |
| void | SetCase (TLetterCase aCase, const CStringTypeDictionary *aTitleCaseDictionary=0) |
| |
| void | SetSentenceCase () |
| |
| int32_t | Compare (MIter< int32_t > &aIter, TStringMatchMethod aStringMatchMethod) const noexcept |
| |
| TResult | Replace (size_t aStart, size_t aEnd, MIter< int32_t > &aText, size_t aMaxLength) |
| |
| int32_t | Compare (const MString &aString) const |
| |
| int32_t | Compare (const MString &aString, TStringMatchMethod aStringMatchMethod) const noexcept |
| |
| size_t | Find (const MString &aString, TStringMatchMethod aStringMatchMethod=TStringMatchMethod::Exact, size_t *aEndPos=nullptr) const noexcept |
| |
| void | Replace (size_t aStart, size_t aEnd, const MString &aString) |
| |
| void | Insert (size_t aIndex, const MString &aString) |
| |
| void | Append (const MString &aString) |
| |
| void | AppendCommaSeparated (const CString &aLabel, const CString &aText, size_t &aItems, size_t aMaxItems=SIZE_MAX) |
| |
| void | Set (const MString &aString) |
| |
| int32_t | Compare (const uint16_t *aText) const |
| |
| int32_t | Compare (const uint16_t *aText, size_t aLength) const |
| |
| int32_t | Compare (const char16_t *aText, size_t aLength=npos) const |
| |
| int32_t | Compare (const uint16_t *aText, size_t aLength, TStringMatchMethod aStringMatchMethod) const noexcept |
| |
| void | Replace (size_t aStart, size_t aEnd, const uint16_t *aText, size_t aLength=npos) |
| |
| void | Insert (size_t aIndex, const uint16_t *aText, size_t aLength=npos) |
| |
| void | Append (const uint16_t *aText, size_t aLength=npos) |
| |
| void | Set (const uint16_t *aText, size_t aLength=npos) |
| |
| int32_t | Compare (const char *aText, size_t aLength=npos, TStringMatchMethod aStringMatchMethod=TStringMatchMethod::Exact) const noexcept |
| |
| int32_t | CompareExact (const char *aText, size_t aLength=npos) const noexcept |
| |
| int32_t | CompareFoldCase (const char *aText, size_t aLength=npos) const noexcept |
| |
| void | Replace (size_t aStart, size_t aEnd, const char *aText, size_t aLength=npos, int32_t aCodePage=0) |
| |
| bool | operator== (const char *aText) const noexcept |
| |
| bool | operator% (const char *aText) const noexcept |
| |
| bool | operator!= (const char *aText) const |
| |
| void | Insert (size_t aIndex, const char *aText, size_t aLength=npos, int32_t aCodePage=0) |
| |
| void | Append (const char *aText, size_t aLength=npos, int32_t aCodePage=0) |
| |
| template<typename T > |
| void | Append (const std::basic_string< T > aString) |
| |
| template<typename T > |
| void | Set (const std::basic_string< T > aString) |
| |
| void | Set (const char *aText, size_t aLength=npos) |
| |
| void | Set (const char *aText, size_t aLength, int32_t aCodePage) |
| |
| void | Replace (size_t aStart, size_t aEnd, uint16_t aChar) |
| |
| void | Insert (size_t aIndex, uint16_t aChar) |
| |
| void | Append (uint16_t aChar) |
| |
| void | Set (uint16_t aChar) |
| |
| void | Trim () |
| |
| bool | operator== (const MString &aString) const |
| |
| bool | operator== (const uint16_t *aText) const |
| |
| bool | operator== (const char16_t *aText) const |
| |
| bool | operator!= (const MString &aString) const |
| |
| bool | operator!= (const uint16_t *aText) const |
| |
| bool | operator!= (const char16_t *aText) const |
| |
| bool | operator% (const MString &aString) const |
| |
| bool | operator% (const uint16_t *aText) const |
| |
| bool | WildMatch (const MString &aWildText) const noexcept |
| |
| bool | WildMatch (const char *aWildText) const noexcept |
| |
| bool | LayerMatch (const MString &aWildText) const |
| |
| bool | LayerMatch (const char *aWildText) const noexcept |
| |
| template<class T > |
| bool | operator< (const T &aOther) const |
| |
| template<class T > |
| bool | operator<= (const T &aOther) const |
| |
| template<class T > |
| bool | operator> (const T &aOther) const |
| |
| template<class T > |
| bool | operator>= (const T &aOther) const |
| |
| int32_t | ToInt32 (size_t *aLengthUsed=nullptr, int32_t aBase=10) const noexcept |
| |
| int64_t | ToInt64 (size_t *aLengthUsed=nullptr, int32_t aBase=10) const noexcept |
| |
| uint32_t | ToUint32 (size_t *aLengthUsed=nullptr, int32_t aBase=10) const noexcept |
| |
| double | ToDouble (size_t *aLengthUsed=nullptr) const noexcept |
| |
| double | ToDimension (size_t *aLengthUsed=nullptr) const noexcept |
| |
| void | Shape (TBidiParDir aParDir, CBidiEngine *aBidiEngine, bool aParStart, bool aReorderFontSelectors) |
| |
| void | Abbreviate (const CAbbreviationDictionary &aDictionary) |
| |
| void | Transliterate (const CStringTypeDictionary *aTitleCaseDictionary=nullptr, const char *aLocale=nullptr) |
| |
| bool | IsLineBreak (size_t aPos) const noexcept |
| |
| size_t | LineBreakBefore (size_t aPos) const noexcept |
| |
| size_t | LineBreakAfter (size_t aPos) const noexcept |
| |
| void | SetAttribute (const MString &aKey, const MString &aValue) |
| |
| void | SetAttribute (const CString &aKey, const CString &aValue) |
| |
| TText | GetAttribute (const MString &aKey) const noexcept |
| |
| TText | GetAttribute (const CString &aKey) const noexcept |
| |
| bool | NextAttribute (size_t &aPos, TText &aKey, TText &aValue) const noexcept |
| |
An unmodifiable string that doesn't own its text.