bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
Transcoder< Encoding, Encoding > Struct Template Reference

Specialization of Transcoder with same source and target encoding. More...

#include <encodings.h>

Inheritance diagram for Transcoder< Encoding, Encoding >:
Inheritance graph
Collaboration diagram for Transcoder< Encoding, Encoding >:
Collaboration graph

Static Public Member Functions

static RAPIDJSON_FORCEINLINE bool Transcode (InputStream &is, OutputStream &os)
 Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream.
 
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Transcode (InputStream &is, OutputStream &os)
 
static RAPIDJSON_FORCEINLINE bool TranscodeUnsafe (InputStream &is, OutputStream &os)
 
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool TranscodeUnsafe (InputStream &is, OutputStream &os)
 
static RAPIDJSON_FORCEINLINE bool Validate (InputStream &is, OutputStream &os)
 Validate one Unicode codepoint from an encoded stream.
 
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Validate (InputStream &is, OutputStream &os)
 

Detailed Description

template<typename Encoding>
struct Transcoder< Encoding, Encoding >

Specialization of Transcoder with same source and target encoding.

Definition at line 691 of file encodings.h.

Member Function Documentation

◆ Transcode() [1/2]

static RAPIDJSON_FORCEINLINE bool Transcoder< Encoding, Encoding >::Transcode ( InputStream & is,
OutputStream & os )
inlinestatic

Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream.

Definition at line 661 of file encodings.h.

◆ Transcode() [2/2]

template<typename Encoding>
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Transcoder< Encoding, Encoding >::Transcode ( InputStream & is,
OutputStream & os )
inlinestatic

Definition at line 693 of file encodings.h.

◆ TranscodeUnsafe() [1/2]

static RAPIDJSON_FORCEINLINE bool Transcoder< Encoding, Encoding >::TranscodeUnsafe ( InputStream & is,
OutputStream & os )
inlinestatic

Definition at line 670 of file encodings.h.

◆ TranscodeUnsafe() [2/2]

template<typename Encoding>
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Transcoder< Encoding, Encoding >::TranscodeUnsafe ( InputStream & is,
OutputStream & os )
inlinestatic

Definition at line 699 of file encodings.h.

◆ Validate() [1/2]

static RAPIDJSON_FORCEINLINE bool Transcoder< Encoding, Encoding >::Validate ( InputStream & is,
OutputStream & os )
inlinestatic

Validate one Unicode codepoint from an encoded stream.

Definition at line 680 of file encodings.h.

◆ Validate() [2/2]

template<typename Encoding>
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Transcoder< Encoding, Encoding >::Validate ( InputStream & is,
OutputStream & os )
inlinestatic

Definition at line 705 of file encodings.h.


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