Dynamically select encoding according to stream's runtime-specified UTF encoding type.
Plus de détails...
#include <arcane/utils/internal/json/rapidjson/encodings.h>
|
enum | { supportUnicode = 1
} |
|
typedef CharType | Ch |
|
|
template<typename OutputStream > |
static RAPIDJSON_FORCEINLINE void | Encode (OutputStream &os, unsigned codepoint) |
|
template<typename OutputStream > |
static RAPIDJSON_FORCEINLINE void | EncodeUnsafe (OutputStream &os, unsigned codepoint) |
|
template<typename InputStream > |
static RAPIDJSON_FORCEINLINE bool | Decode (InputStream &is, unsigned *codepoint) |
|
template<typename InputStream , typename OutputStream > |
static RAPIDJSON_FORCEINLINE bool | Validate (InputStream &is, OutputStream &os) |
|
template<typename CharType>
struct AutoUTF< CharType >
Dynamically select encoding according to stream's runtime-specified UTF encoding type.
- Note
- This class can be used with AutoUTFInputtStream and AutoUTFOutputStream, which provides GetType().
Définition à la ligne 616 du fichier encodings.h.
◆ Ch
template<typename CharType >
typedef CharType AutoUTF< CharType >::Ch |
◆ anonymous enum
template<typename CharType >
◆ Decode()
template<typename CharType >
template<typename InputStream >
static RAPIDJSON_FORCEINLINE bool AutoUTF< CharType >::Decode |
( |
InputStream & |
is, |
|
|
unsigned * |
codepoint |
|
) |
| |
|
inlinestatic |
◆ Encode()
template<typename CharType >
template<typename OutputStream >
static RAPIDJSON_FORCEINLINE void AutoUTF< CharType >::Encode |
( |
OutputStream & |
os, |
|
|
unsigned |
codepoint |
|
) |
| |
|
inlinestatic |
◆ EncodeUnsafe()
template<typename CharType >
template<typename OutputStream >
static RAPIDJSON_FORCEINLINE void AutoUTF< CharType >::EncodeUnsafe |
( |
OutputStream & |
os, |
|
|
unsigned |
codepoint |
|
) |
| |
|
inlinestatic |
◆ Validate()
template<typename CharType >
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool AutoUTF< CharType >::Validate |
( |
InputStream & |
is, |
|
|
OutputStream & |
os |
|
) |
| |
|
inlinestatic |
La documentation de cette structure a été générée à partir du fichier suivant :