ASCII encoding.
Plus de détails...
#include <arcane/utils/internal/json/rapidjson/encodings.h>
|
enum | { supportUnicode = 0
} |
|
typedef CharType | Ch |
|
|
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) |
|
template<typename InputByteStream > |
static CharType | TakeBOM (InputByteStream &is) |
|
template<typename InputByteStream > |
static Ch | Take (InputByteStream &is) |
|
template<typename OutputByteStream > |
static void | PutBOM (OutputByteStream &os) |
|
template<typename OutputByteStream > |
static void | Put (OutputByteStream &os, Ch c) |
|
template<typename CharType = char>
struct ASCII< CharType >
ASCII encoding.
http://en.wikipedia.org/wiki/ASCII
- Paramètres du template
-
CharType | Code unit for storing 7-bit ASCII data. Default is char. |
- Note
- implements Encoding concept
Définition à la ligne 543 du fichier encodings.h.
◆ Ch
template<typename CharType = char>
typedef CharType ASCII< CharType >::Ch |
◆ anonymous enum
template<typename CharType = char>
◆ Decode()
template<typename CharType = char>
template<typename InputStream >
static bool ASCII< CharType >::Decode |
( |
InputStream & |
is, |
|
|
unsigned * |
codepoint |
|
) |
| |
|
inlinestatic |
◆ Encode()
template<typename CharType = char>
template<typename OutputStream >
static void ASCII< CharType >::Encode |
( |
OutputStream & |
os, |
|
|
unsigned |
codepoint |
|
) |
| |
|
inlinestatic |
◆ EncodeUnsafe()
template<typename CharType = char>
template<typename OutputStream >
static void ASCII< CharType >::EncodeUnsafe |
( |
OutputStream & |
os, |
|
|
unsigned |
codepoint |
|
) |
| |
|
inlinestatic |
◆ Put()
template<typename CharType = char>
template<typename OutputByteStream >
static void ASCII< CharType >::Put |
( |
OutputByteStream & |
os, |
|
|
Ch |
c |
|
) |
| |
|
inlinestatic |
◆ PutBOM()
template<typename CharType = char>
template<typename OutputByteStream >
static void ASCII< CharType >::PutBOM |
( |
OutputByteStream & |
os | ) |
|
|
inlinestatic |
◆ Take()
template<typename CharType = char>
template<typename InputByteStream >
static Ch ASCII< CharType >::Take |
( |
InputByteStream & |
is | ) |
|
|
inlinestatic |
◆ TakeBOM()
template<typename CharType = char>
template<typename InputByteStream >
static CharType ASCII< CharType >::TakeBOM |
( |
InputByteStream & |
is | ) |
|
|
inlinestatic |
◆ Validate()
template<typename CharType = char>
template<typename InputStream , typename OutputStream >
static bool ASCII< CharType >::Validate |
( |
InputStream & |
is, |
|
|
OutputStream & |
os |
|
) |
| |
|
inlinestatic |
La documentation de cette structure a été générée à partir du fichier suivant :