NGL  6.5
The NCCA Graphics Library
UTF16LE< CharType > Struct Template Reference

UTF-16 little endian encoding. More...

#include <encodings.h>

+ Inheritance diagram for UTF16LE< CharType >:
+ Collaboration diagram for UTF16LE< CharType >:

Static Public Member Functions

template<typename InputByteStream >
static CharType TakeBOM (InputByteStream &is)
 
template<typename InputByteStream >
static CharType Take (InputByteStream &is)
 
template<typename OutputByteStream >
static void PutBOM (OutputByteStream &os)
 
template<typename OutputByteStream >
static void Put (OutputByteStream &os, CharType c)
 
- Static Public Member Functions inherited from UTF16< CharType >
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)
 

Additional Inherited Members

- Public Types inherited from UTF16< CharType >
enum  { supportUnicode = 1 }
 
typedef CharType Ch
 
- Public Member Functions inherited from UTF16< CharType >
 RAPIDJSON_STATIC_ASSERT (sizeof(Ch) >=2)
 

Detailed Description

template<typename CharType = wchar_t>
struct UTF16LE< CharType >

UTF-16 little endian encoding.

Definition at line 298 of file encodings.h.

Member Function Documentation

template<typename CharType = wchar_t>
template<typename OutputByteStream >
static void UTF16LE< CharType >::Put ( OutputByteStream &  os,
CharType  c 
)
inlinestatic

Definition at line 321 of file encodings.h.

References RAPIDJSON_STATIC_ASSERT.

template<typename CharType = wchar_t>
template<typename OutputByteStream >
static void UTF16LE< CharType >::PutBOM ( OutputByteStream &  os)
inlinestatic

Definition at line 315 of file encodings.h.

References RAPIDJSON_STATIC_ASSERT.

template<typename CharType = wchar_t>
template<typename InputByteStream >
static CharType UTF16LE< CharType >::Take ( InputByteStream &  is)
inlinestatic

Definition at line 307 of file encodings.h.

References RAPIDJSON_STATIC_ASSERT.

template<typename CharType = wchar_t>
template<typename InputByteStream >
static CharType UTF16LE< CharType >::TakeBOM ( InputByteStream &  is)
inlinestatic

Definition at line 300 of file encodings.h.

References RAPIDJSON_STATIC_ASSERT, and UTF8< CharType >::Take().

+ Here is the call graph for this function:


The documentation for this struct was generated from the following file: