ASPiK SDK
VSTGUI::UTF8String Class Reference

holds an UTF8 encoded string and a platform representation of it More...

#include <cstring.h>

Public Types

using StringType = std::string
 
using SizeType = StringType::size_type
 
using CodePointIterator = UTF8CodePointIterator< StringType::const_iterator >
 

Public Member Functions

 UTF8String (UTF8StringPtr str=nullptr)
 
 UTF8String (const UTF8String &other)
 
 UTF8String (const StringType &str)
 
 UTF8String (UTF8String &&other) noexcept
 
 UTF8String (StringType &&str) noexcept
 
UTF8Stringoperator= (const UTF8String &other)
 
UTF8Stringoperator= (const StringType &other)
 
UTF8Stringoperator= (UTF8String &&other) noexcept
 
UTF8Stringoperator= (StringType &&str) noexcept
 
UTF8Stringoperator= (UTF8StringPtr str)
 
SizeType length () const noexcept
 
bool empty () const noexcept
 
void copy (UTF8StringBuffer dst, SizeType dstSize) const noexcept
 
CodePointIterator begin () const noexcept
 
CodePointIterator end () const noexcept
 
bool operator== (UTF8StringPtr str) const noexcept
 
bool operator!= (UTF8StringPtr str) const noexcept
 
bool operator== (const UTF8String &str) const noexcept
 
bool operator!= (const UTF8String &str) const noexcept
 
bool operator== (const StringType &str) const noexcept
 
bool operator!= (const StringType &str) const noexcept
 
UTF8Stringoperator+= (const UTF8String &other)
 
UTF8String operator+ (const UTF8String &other)
 
void assign (UTF8StringPtr str)
 
void clear () noexcept
 
const UTF8StringPtr data () const noexcept
 
 operator const UTF8StringPtr () const noexcept
 
const StringType & getString () const noexcept
 
IPlatformString * getPlatformString () const noexcept
 
 operator bool () const =delete
 

Detailed Description

holds an UTF8 encoded string and a platform representation of it


The documentation for this class was generated from the following files: