|
VSTGUI
4.3
Graphical User Interface Framework not only for VST plugins
|
a view on an UTF-8 String More...
Public Member Functions | |
| UTF8StringView (const UTF8StringPtr string) | |
| size_t | calculateByteCount () const |
| size_t | calculateCharacterCount () const |
| bool | contains (const UTF8StringPtr subString) const |
| bool | endsWith (const UTF8StringView &endString) const |
| double | toDouble (uint32_t precision=8) const |
| float | toFloat (uint32_t precision=8) const |
| bool | operator== (const UTF8StringPtr otherString) const |
| bool | operator!= (const UTF8StringPtr otherString) const |
| operator const UTF8StringPtr () const | |
a view on an UTF-8 String
It does not copy the string. It's allowed to put null pointers into it. A null pointer is treaded different than an empty string.
|
inline |
|
inline |
calculates the bytes used by this string, including null-character
Here is the caller graph for this function:
|
inline |
calculates the number of UTF-8 characters in the string
Here is the call graph for this function:
|
inline |
checks this string if it contains a subString
|
inline |
checks this string if it ends with endString
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
converts the string to a double
Here is the caller graph for this function:
|
inline |
converts the string to a float
Here is the call graph for this function:
Here is the caller graph for this function: