#include <ustring.h>
Inheritance diagram for Steinberg::UString:

Public Member Functions | |
| UString (char16 *buffer, int32 size) | |
| int32 | getSize () const |
| returns buffer size | |
| operator const char16 * () const | |
| cast to char16* | |
| int32 | getLength () const |
| UString & | assign (const char16 *src, int32 srcSize=-1) |
| UString & | append (const char16 *src, int32 srcSize=-1) |
| const UString & | copyTo (char16 *dst, int32 dstSize) const |
| UString & | fromAscii (const char *src, int32 srcSize=-1) |
| const UString & | toAscii (char *dst, int32 dstSize) const |
| bool | scanInt (int64 &value) const |
| bool | printInt (int64 value) |
| bool | scanFloat (double &value) const |
| bool | printFloat (double value) |
Protected Attributes | |
| char16 * | thisBuffer |
| int32 | thisSize |
Definition at line 47 of file ustring.h.
Append UTF-16 buffer.
Definition at line 102 of file ustring.cpp.
Copy from UTF-16 buffer.
Definition at line 95 of file ustring.cpp.
Copy to UTF-16 buffer.
Definition at line 110 of file ustring.cpp.
Copy from ASCII string.
Definition at line 117 of file ustring.cpp.
| int32 Steinberg::UString::getLength | ( | ) | const |
Returns length of string (in code units).
Definition at line 89 of file ustring.cpp.
| int32 Steinberg::UString::getSize | ( | ) | const [inline] |
| Steinberg::UString::operator const char16 * | ( | ) | const [inline] |
| bool Steinberg::UString::printFloat | ( | double | value | ) |
Print float to string.
Definition at line 153 of file ustring.cpp.
| bool Steinberg::UString::printInt | ( | int64 | value | ) |
Print integer to string.
Definition at line 197 of file ustring.cpp.
| bool Steinberg::UString::scanFloat | ( | double & | value | ) | const |
Scan float from string.
Definition at line 131 of file ustring.cpp.
| bool Steinberg::UString::scanInt | ( | int64 & | value | ) | const |
Scan integer from string.
Definition at line 175 of file ustring.cpp.
Copy to ASCII string.
Definition at line 124 of file ustring.cpp.
char16* Steinberg::UString::thisBuffer [protected] |
int32 Steinberg::UString::thisSize [protected] |