|
LMMS
|
#include <istringresult.h>
Public Member Functions | |
| virtual void PLUGIN_API | setText8 (const char8 *text)=0 |
| virtual void PLUGIN_API | setText16 (const char16 *text)=0 |
| virtual const char8 *PLUGIN_API | getText8 ()=0 |
| virtual const char16 *PLUGIN_API | getText16 ()=0 |
| virtual void PLUGIN_API | take (void *s, bool isWide)=0 |
| virtual bool PLUGIN_API | isWideString () const =0 |
| Public Member Functions inherited from Steinberg::FUnknown | |
| virtual tresult PLUGIN_API | queryInterface (const TUID _iid, void **obj)=0 |
| virtual uint32 PLUGIN_API | addRef ()=0 |
| virtual uint32 PLUGIN_API | release ()=0 |
Static Public Attributes | |
| static const FUID | iid |
| Static Public Attributes inherited from Steinberg::FUnknown | |
| static const FUID | iid |
Interface to a string of variable size and encoding.
Return unicode string. If the string is ASCII so far, it will be converted.
Implemented in Steinberg::StringObject.
Return ASCII string. If the string is unicode so far, it will be converted. So you need to be careful, because the conversion can result in data loss. It is save though to call getText8 if isWideString() returns false
Implemented in Steinberg::StringObject.
|
pure virtual |
Returns true if the string is in unicode format, returns false if the string is ASCII
Implemented in Steinberg::StringObject.
Assign unicode string
Implemented in Steinberg::StringObject.
Assign ASCII string
Implemented in Steinberg::StringObject.
!Do not use this method! Early implementations take the given pointer as internal string and this will cause problems because 'free' will be used to delete the passed memory. Later implementations will redirect 'take' to setText8 and setText16
Implemented in Steinberg::StringObject.