API for working with UTF-32 strings.
Classes | |
class | Common::U32String |
Typedefs | |
typedef uint32 | Common::u32char_type_t |
Functions | |
U32String | Common::operator+ (const U32String &x, const U32String &y) |
U32String | Common::operator+ (const U32String &x, U32String::value_type y) |
typedef uint32 Common::u32char_type_t |
A simple string class for UTF-32 strings in ScummVM. The main intention behind this class is to feature a simple way of displaying UTF-32 strings through the Graphics::Font API.
Note that operations like equals, deleteCharacter, toUppercase, etc. are only simplified convenience operations. They might not fully work as you would expect for a proper UTF-32 string class.
The presence of \0 characters in the string will cause undefined behavior in some operations.
Concatenate strings x
and y
.