|
| | DtClonableUnicode () |
| |
| | DtClonableUnicode (const makVrv::DtUnicode &orig) |
| |
| | DtClonableUnicode (const DtClonableUnicode &orig) |
| |
| virtual | ~DtClonableUnicode () |
| |
| virtual DtClonableUnicode * | clone () const |
| |
| | DtUnicode () |
| |
| virtual | ~DtUnicode () |
| |
| | DtUnicode (size_t len, DtUnicodeChar c=DtUnicodeChar('\0')) |
| |
| | DtUnicode (const DtUnicode &str) |
| |
| DtUnicode & | operator= (const DtUnicode &str) |
| |
| template<typename QStringType , typename QCoreApp > |
| QStringType | translate () const |
| |
| void | setFromWCharArray (const wchar_t utf16[], int len=-1) |
| |
| void | setFromUtf8 (const unsigned char *utf8, int len=-1) |
| |
| void | setFromUtf8 (const std::string &utf8) |
| |
| void | setFromLatin1 (const char *latin, int len=-1) |
| |
| void | setFromUtf16 (const unsigned short *utf16, int len=-1) |
| |
| void | setFromUtf32 (const unsigned int *utf32, int len=-1) |
| |
| void | setFromAscii (const std::string &ascii) |
| |
| void | setFromAscii (const char *ascii, int len=-1) |
| |
| template<typename QStringType > |
| void | setFromQString (QStringType qstr) |
| |
| void | toAscii (std::string &str) const |
| |
| std::string | toAscii () const |
| |
| void | toLatin1 (std::string &str) const |
| |
| std::string | toLatin1 () const |
| |
| void | toUtf8 (std::string &str) const |
| |
| std::string | toUtf8 () const |
| |
| void | toWideString (std::wstring &str) const |
| |
| std::wstring | toWideString () const |
| |
| template<typename QStringType > |
| QStringType | toQString () const |
| |
| template<typename QStringType > |
| void | toQString (QStringType &qstr) const |
| |
| DtUnicode & | operator+= (const DtUnicode &str) |
| |
| DtUnicode & | operator+= (const DtUnicodeChar &x) |
| |
| DtUnicode | operator+ (const DtUnicode &str) const |
| |
| DtUnicode | operator+ (const DtUnicodeChar &character) const |
| |
| bool | operator== (const DtUnicode &other) const |
| |
| bool | operator!= (const DtUnicode &other) const |
| |
| bool | operator< (const DtUnicode &other) const |
| |
| size_t | length () const |
| |
| size_t | sizeInBytes () const |
| |
| size_t | calculateCodePoints () const |
| |
| const CodeUnit * | codeUnits () const |
| |
| size_t | count (const DtUnicodeChar &x) const |
| |
| int | indexOf (const DtUnicodeChar &x, size_t pos=0) const |
| |
| int | indexOf (const DtUnicode &x, size_t pos=0) const |
| |
| DtUnicode | subString (size_t pos=0, int len=-1) const |
| |
| void | push_back (const DtUnicodeChar &x) |
| |
| void | resize (int size) |
| |
| virtual bool | containsRightToLeft () const |
| |
|
| typedef unsigned short | CodeUnit |
| |
| static DtUnicode | fromWCharArray (const wchar_t utf16[], int len=-1) |
| |
| static DtUnicode | fromWideString (const std::wstring &str) |
| |
| static DtUnicode | fromUtf8 (const unsigned char *utf8, int len=-1) |
| |
| static DtUnicode | fromUtf8 (const std::string &utf8) |
| |
| static DtUnicode | fromUtf16 (const unsigned short *utf16, int len=-1) |
| |
| static DtUnicode | fromUtf32 (const unsigned int *utf32, int len=-1) |
| |
| static DtUnicode | fromAscii (const std::string &ascii) |
| |
| static DtUnicode | fromAscii (const char *ascii, int len=-1) |
| |
| static DtUnicode | tr (const char *ascii) |
| |
| template<typename QStringType > |
| static DtUnicode | fromQString (QStringType qstr) |
| |
| enum | Encoding { Ascii,
Latin1,
Utf8
} |
| |
| | DtUnicode (const char *ascii, int len=-1, Encoding encoding=Ascii) |
| |
| | DtUnicode (const unsigned short *utf16, int len=-1) |
| |
| | DtUnicode (const unsigned int *utf32, int len=-1) |
| |
| | DtUnicode (const std::string &ascii) |
| |
| | DtUnicode (const DtUnicode &a, const DtUnicode &b) |
| |
| CodeUnitArray | myCodeUnits |
| |