UTF32< CharType > Struct Template Reference#
UTF32< CharType > Struct Template Reference
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) |
Detailed Description
template<typename CharType = unsigned>
struct UTF32< CharType >
UTF-32 encoding.
http://en.wikipedia.org/wiki/UTF-32
- Template Parameters
-
CharType Type for storing 32-bit UTF-32 data. Default is unsigned. C++11 may use char32_t instead.
Member Typedef Documentation
◆ Ch
Member Enumeration Documentation
◆ anonymous enum
Member Function Documentation
◆ Decode()
template<typename CharType = unsigned>
template<typename InputStream >
|
inlinestatic |
◆ Encode()
template<typename CharType = unsigned>
template<typename OutputStream >
|
inlinestatic |
◆ EncodeUnsafe()
template<typename CharType = unsigned>
template<typename OutputStream >
|
inlinestatic |
◆ RAPIDJSON_STATIC_ASSERT()
template<typename CharType = unsigned>
UTF32< CharType >::RAPIDJSON_STATIC_ASSERT | ( | sizeof(Ch) >= | 4 | ) |
◆ Validate()
template<typename CharType = unsigned>
template<typename InputStream , typename OutputStream >
|
inlinestatic |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/encodings.h