Arcane  v3.16.0.0
Documentation développeur
Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros Groupes Pages Concepts
Référence du modèle de la structure UTF8< CharType >

UTF-8 encoding. Plus de détails...

#include <arcane/utils/internal/json/rapidjson/encodings.h>

+ Graphe de collaboration de UTF8< CharType >:

Types publics

enum  { supportUnicode = 1 }
 
typedef CharType Ch
 

Fonctions membres publiques statiques

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)
 
static unsigned char GetRange (unsigned char c)
 
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)
 

Description détaillée

template<typename CharType = char>
struct UTF8< CharType >

UTF-8 encoding.

http://en.wikipedia.org/wiki/UTF-8 http://tools.ietf.org/html/rfc3629

Paramètres du template
CharTypeCode unit for storing 8-bit UTF-8 data. Default is char.
Note
implements Encoding concept

Définition à la ligne 97 du fichier encodings.h.

Documentation des définitions de type membres

◆ Ch

template<typename CharType = char>
typedef CharType UTF8< CharType >::Ch

Définition à la ligne 98 du fichier encodings.h.

Documentation des énumérations membres

◆ anonymous enum

template<typename CharType = char>
anonymous enum

Définition à la ligne 100 du fichier encodings.h.

Documentation des fonctions membres

◆ Decode()

template<typename CharType = char>
template<typename InputStream>
static bool UTF8< CharType >::Decode ( InputStream & is,
unsigned * codepoint )
inlinestatic

Définition à la ligne 147 du fichier encodings.h.

◆ Encode()

template<typename CharType = char>
template<typename OutputStream>
static void UTF8< CharType >::Encode ( OutputStream & os,
unsigned codepoint )
inlinestatic

Définition à la ligne 103 du fichier encodings.h.

◆ EncodeUnsafe()

template<typename CharType = char>
template<typename OutputStream>
static void UTF8< CharType >::EncodeUnsafe ( OutputStream & os,
unsigned codepoint )
inlinestatic

Définition à la ligne 125 du fichier encodings.h.

◆ GetRange()

template<typename CharType = char>
static unsigned char UTF8< CharType >::GetRange ( unsigned char c)
inlinestatic

Définition à la ligne 205 du fichier encodings.h.

◆ Put()

template<typename CharType = char>
template<typename OutputByteStream>
static void UTF8< CharType >::Put ( OutputByteStream & os,
Ch c )
inlinestatic

Définition à la ligne 251 du fichier encodings.h.

◆ PutBOM()

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

Définition à la ligne 243 du fichier encodings.h.

◆ Take()

template<typename CharType = char>
template<typename InputByteStream>
static Ch UTF8< CharType >::Take ( InputByteStream & is)
inlinestatic

Définition à la ligne 237 du fichier encodings.h.

◆ TakeBOM()

template<typename CharType = char>
template<typename InputByteStream>
static CharType UTF8< CharType >::TakeBOM ( InputByteStream & is)
inlinestatic

Définition à la ligne 224 du fichier encodings.h.

◆ Validate()

template<typename CharType = char>
template<typename InputStream, typename OutputStream>
static bool UTF8< CharType >::Validate ( InputStream & is,
OutputStream & os )
inlinestatic

Définition à la ligne 180 du fichier encodings.h.


La documentation de cette structure a été générée à partir du fichier suivant :