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

#include <StringConversion.h>

Public Member Functions

 xiiStringUtf16 (xiiAllocator *pAllocator=xiiFoundation::GetDefaultAllocator())
 xiiStringUtf16 (const char *szUtf8, xiiAllocator *pAllocator=xiiFoundation::GetDefaultAllocator())
 xiiStringUtf16 (const xiiUInt16 *pUtf16, xiiAllocator *pAllocator=xiiFoundation::GetDefaultAllocator())
 xiiStringUtf16 (const xiiUInt32 *pUtf32, xiiAllocator *pAllocator=xiiFoundation::GetDefaultAllocator())
 xiiStringUtf16 (const wchar_t *pUtf32, xiiAllocator *pAllocator=xiiFoundation::GetDefaultAllocator())
void operator= (const char *szUtf8)
void operator= (const xiiUInt16 *pUtf16)
void operator= (const xiiUInt32 *pUtf32)
void operator= (const wchar_t *pUtf32)
XII_ALWAYS_INLINE const xiiUInt16 * GetData () const
XII_ALWAYS_INLINE xiiUInt32 GetElementCount () const

Detailed Description

A very simple class to convert text to Utf16 encoding.

Use this class only temporarily, if you need to output something in Utf16 format, e.g. for writing it to a file. Never use this for storage. When working with OS functions that expect '16 Bit strings', use xiiStringWChar instead.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Strings/StringConversion.h
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Strings/Implementation/StringConversion.cpp
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Strings/Implementation/StringConversion_inl.h