|
Interface Technology Basics
VST 3.6.6
SDK for developing VST Plug-in
|
UTF-16 string class without buffer management. More...
#include <ustring.h>
Inheritance diagram for UString:Public Member Functions | |
| UString (char16 *buffer, int32 size) | |
| int32 | getSize () const |
| returns buffer size More... | |
| operator const char16 * () const | |
| cast to char16* More... | |
| int32 | getLength () const |
| Returns length of string (in code units). More... | |
| UString & | assign (const char16 *src, int32 srcSize=-1) |
| Copy from UTF-16 buffer. More... | |
| UString & | append (const char16 *src, int32 srcSize=-1) |
| Append UTF-16 buffer. More... | |
| const UString & | copyTo (char16 *dst, int32 dstSize) const |
| Copy to UTF-16 buffer. More... | |
| UString & | fromAscii (const char *src, int32 srcSize=-1) |
| Copy from ASCII string. More... | |
| UString & | assign (const char *src, int32 srcSize=-1) |
| const UString & | toAscii (char *dst, int32 dstSize) const |
| Copy to ASCII string. More... | |
| bool | scanInt (int64 &value) const |
| Scan integer from string. More... | |
| bool | printInt (int64 value) |
| Print integer to string. More... | |
| bool | scanFloat (double &value) const |
| Scan float from string. More... | |
| bool | printFloat (double value, int32 precision=4) |
| Print float to string. More... | |
Protected Attributes | |
| char16 * | thisBuffer |
| int32 | thisSize |
UTF-16 string class without buffer management.
|
inline |
returns buffer size
|
inline |
cast to char16*
| int32 getLength | ( | ) | const |
Returns length of string (in code units).
| bool scanInt | ( | int64 & | value | ) | const |
Scan integer from string.
| bool printInt | ( | int64 | value | ) |
Print integer to string.
| bool scanFloat | ( | double & | value | ) | const |
Scan float from string.
| bool printFloat | ( | double | value, |
| int32 | precision = 4 |
||
| ) |
Print float to string.
|
protected |
|
protected |