NGL
6.5
The NCCA Graphics Library
|
UTF-16 encoding. More...
#include <encodings.h>
Public Types | |
enum | { supportUnicode = 1 } |
typedef CharType | Ch |
Public Member Functions | |
RAPIDJSON_STATIC_ASSERT (sizeof(Ch) >=2) | |
Static Public Member Functions | |
template<typename OutputStream > | |
static void | Encode (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-16 encoding.
http://en.wikipedia.org/wiki/UTF-16 http://tools.ietf.org/html/rfc2781
CharType | Type for storing 16-bit UTF-16 data. Default is wchar_t. C++11 may use char16_t instead. |
Definition at line 241 of file encodings.h.
Definition at line 242 of file encodings.h.
anonymous enum |
Enumerator | |
---|---|
supportUnicode |
Definition at line 245 of file encodings.h.
|
inlinestatic |
Definition at line 263 of file encodings.h.
References RAPIDJSON_STATIC_ASSERT.
|
inlinestatic |
Definition at line 248 of file encodings.h.
References RAPIDJSON_ASSERT, and RAPIDJSON_STATIC_ASSERT.
|
inlinestatic |
Definition at line 281 of file encodings.h.
References RAPIDJSON_STATIC_ASSERT.