Loading...
Searching...
No Matches
String32

#include <Ultralight/String32.h>

Overview

A null-terminated UTF-32 string container.

Public Types

typedef char32_t CharType
 

Public Member Functions

 String32 ()
 
 String32 (const char32_t *c_str, size_t len)
 
 String32 (const String32 &other)
 
 String32 (String32 &&other)
 
 ~String32 ()
 
String32operator= (const String32 &other)
 
String32operator= (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
 
size_t Hash () const
 
bool operator< (const String32 &other) const
 
bool operator== (const String32 &other) const
 
bool operator!= (const String32 &other) const
 

Friends

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

Member Typedef Documentation

◆ CharType

typedef char32_t CharType

Constructor & Destructor Documentation

◆ String32() [1/4]

String32 ( )

◆ String32() [2/4]

String32 ( const char32_t * c_str,
size_t len )

◆ String32() [3/4]

String32 ( const String32 & other)

◆ String32() [4/4]

String32 ( String32 && other)

◆ ~String32()

~String32 ( )

Member Function Documentation

◆ data() [1/2]

char32_t * data ( )
inline

◆ data() [2/2]

const char32_t * data ( ) const
inline

◆ empty()

bool empty ( ) const
inline

◆ Hash()

size_t Hash ( ) const

◆ length()

size_t length ( ) const
inline

◆ operator!=()

bool operator!= ( const String32 & other) const

◆ operator+=()

String32 & operator+= ( const String32 & other)

◆ operator<()

bool operator< ( const String32 & other) const

◆ operator=() [1/2]

String32 & operator= ( const String32 & other)

◆ operator=() [2/2]

String32 & operator= ( String32 && other)

◆ operator==()

bool operator== ( const String32 & other) const

◆ operator[]() [1/2]

char32_t & operator[] ( size_t pos)
inline

◆ operator[]() [2/2]

const char32_t & operator[] ( size_t pos) const
inline

◆ size()

size_t size ( ) const
inline

◆ sizeBytes()

size_t sizeBytes ( ) const
inline

◆ utf16()

String16 utf16 ( ) const

◆ utf8()

String8 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: