Ultralight C++ API 1.3.0
Loading...
Searching...
No Matches
ultralight::String32 Class Reference

#include <Ultralight/String32.h>

Details

A UTF-32 string container.

Public Member Functions

 String32 ()
 
 String32 (const char32_t *c_str, size_t len)
 
 String32 (const String32 &other)
 
 ~String32 ()
 
String32operator= (const String32 &other)
 
String32operator+= (const String32 &other)
 
char32_t * data ()
 
const char32_t * data () const
 
size_t length () const
 
size_t size () const
 
size_t sizeBytes () const
 
bool empty () const
 
char32_t & operator[] (size_t pos)
 
const char32_t & operator[] (size_t pos) const
 
String8 utf8 () const
 
String16 utf16 () const
 

Friends

String32 operator+ (String32 lhs, const String32 &rhs)
 

Constructor & Destructor Documentation

◆ String32() [1/3]

ultralight::String32::String32 ( )

◆ String32() [2/3]

ultralight::String32::String32 ( const char32_t *  c_str,
size_t  len 
)

◆ String32() [3/3]

ultralight::String32::String32 ( const String32 other)

◆ ~String32()

ultralight::String32::~String32 ( )

Member Function Documentation

◆ data() [1/2]

char32_t * ultralight::String32::data ( )
inline

◆ data() [2/2]

const char32_t * ultralight::String32::data ( ) const
inline

◆ empty()

bool ultralight::String32::empty ( ) const
inline

◆ length()

size_t ultralight::String32::length ( ) const
inline

◆ operator+=()

String32 & ultralight::String32::operator+= ( const String32 other)

◆ operator=()

String32 & ultralight::String32::operator= ( const String32 other)

◆ operator[]() [1/2]

char32_t & ultralight::String32::operator[] ( size_t  pos)
inline

◆ operator[]() [2/2]

const char32_t & ultralight::String32::operator[] ( size_t  pos) const
inline

◆ size()

size_t ultralight::String32::size ( ) const
inline

◆ sizeBytes()

size_t ultralight::String32::sizeBytes ( ) const
inline

◆ utf16()

String16 ultralight::String32::utf16 ( ) const

◆ utf8()

String8 ultralight::String32::utf8 ( ) const

Friends And Related Symbol Documentation

◆ operator+

String32 operator+ ( String32  lhs,
const String32 rhs 
)
friend

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