![]() |
XII Release 0.1.0
|
A very simple string class that should only be used to temporarily convert text to the OSes native wchar_t convention (16 or 32 Bit). More...
#include <StringConversion.h>
Public Member Functions | |
xiiStringWChar (xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator()) | |
xiiStringWChar (const xiiUInt16 *pUtf16, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator()) | |
xiiStringWChar (const xiiUInt32 *pUtf32, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator()) | |
xiiStringWChar (const wchar_t *pUtf32, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator()) | |
xiiStringWChar (xiiStringView sUtf8, xiiAllocatorBase *pAllocator=xiiFoundation::GetDefaultAllocator()) | |
void | operator= (const xiiUInt16 *pUtf16) |
void | operator= (const xiiUInt32 *pUtf32) |
void | operator= (const wchar_t *pUtf32) |
void | operator= (xiiStringView sUtf8) |
XII_ALWAYS_INLINE | operator const wchar_t * () const |
XII_ALWAYS_INLINE const wchar_t * | GetData () const |
XII_ALWAYS_INLINE xiiUInt32 | GetElementCount () const |
A very simple string class that should only be used to temporarily convert text to the OSes native wchar_t convention (16 or 32 Bit).
This should be used when one needs to output text via some function that only accepts wchar_t strings. DO NOT use this for storage or anything else that is not temporary. wchar_t is 16 Bit on Windows and 32 Bit on most other platforms. This class will always automatically convert to the correct format.