Plasma Engine  2.0
Loading...
Searching...
No Matches
plStringUtf8 Class Reference

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

#include <StringConversion.h>

Public Member Functions

 plStringUtf8 (plAllocator *pAllocator=plFoundation::GetDefaultAllocator())
 
 plStringUtf8 (const char *szUtf8, plAllocator *pAllocator=plFoundation::GetDefaultAllocator())
 
 plStringUtf8 (const plUInt16 *pUtf16, plAllocator *pAllocator=plFoundation::GetDefaultAllocator())
 
 plStringUtf8 (const plUInt32 *pUtf32, plAllocator *pAllocator=plFoundation::GetDefaultAllocator())
 
 plStringUtf8 (const wchar_t *pWChar, plAllocator *pAllocator=plFoundation::GetDefaultAllocator())
 
void operator= (const char *szUtf8)
 
void operator= (const plUInt16 *pUtf16)
 
void operator= (const plUInt32 *pUtf32)
 
void operator= (const wchar_t *pWChar)
 
PL_ALWAYS_INLINE operator const char * () const
 
PL_ALWAYS_INLINE const char * GetData () const
 
PL_ALWAYS_INLINE plUInt32 GetElementCount () const
 
PL_ALWAYS_INLINE operator plStringView () const
 
PL_ALWAYS_INLINE plStringView 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: