XII Release 0.1.0
Loading...
Searching...
No Matches
xiiStringUtf8 Class Reference

A small string class that converts any other encoding to Utf8. More...

#include <StringConversion.h>

Public Member Functions

 xiiStringUtf8 (xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator())
 
 xiiStringUtf8 (const char *szUtf8, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator())
 
 xiiStringUtf8 (const xiiUInt16 *pUtf16, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator())
 
 xiiStringUtf8 (const xiiUInt32 *pUtf32, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator())
 
 xiiStringUtf8 (const wchar_t *pWChar, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator())
 
void operator= (const char *szUtf8)
 
void operator= (const xiiUInt16 *pUtf16)
 
void operator= (const xiiUInt32 *pUtf32)
 
void operator= (const wchar_t *pWChar)
 
XII_ALWAYS_INLINE operator const char * () const
 
XII_ALWAYS_INLINE const char * GetData () const
 
XII_ALWAYS_INLINE xiiUInt32 GetElementCount () const
 
XII_ALWAYS_INLINE operator xiiStringView () const
 
XII_ALWAYS_INLINE xiiStringView GetView () const
 

Detailed Description

A small string class that converts any other encoding to Utf8.

Use this class only temporarily. Do not use it for storage.


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