UTF-32 encoding. More...
#include <encodings.h>
Public Types | |
enum | { supportUnicode = 1 } |
typedef CharType | Ch |
Public Member Functions | |
RAPIDJSON_STATIC_ASSERT (sizeof(Ch) >=4) | |
Static Public Member Functions | |
template<typename OutputStream > | |
static void | Encode (OutputStream &os, unsigned codepoint) |
template<typename OutputStream > | |
static void | EncodeUnsafe (OutputStream &os, unsigned codepoint) |
template<typename InputStream > | |
static bool | Decode (InputStream &is, unsigned *codepoint) |
template<typename InputStream , typename OutputStream > | |
static bool | Validate (InputStream &is, OutputStream &os) |
UTF-32 encoding.
http://en.wikipedia.org/wiki/UTF-32
CharType | Type for storing 32-bit UTF-32 data. Default is unsigned. C++11 may use char32_t instead. |
Definition at line 418 of file encodings.h.
Definition at line 419 of file encodings.h.
anonymous enum |
|
inlinestatic |
Definition at line 439 of file encodings.h.
|
inlinestatic |
Definition at line 425 of file encodings.h.
|
inlinestatic |
Definition at line 432 of file encodings.h.
UTF32< CharType >::RAPIDJSON_STATIC_ASSERT | ( | sizeof(Ch) >= | 4 | ) |
|
inlinestatic |
Definition at line 447 of file encodings.h.