cphot 0.1
A C++ tool for computing photometry from spectra.
Transcoder< Encoding, Encoding > Struct Template Reference

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

#include <encodings.h>

Static Public Member Functions

template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool Transcode (InputStream &is, OutputStream &os)
 
template<typename InputStream , typename OutputStream >
static RAPIDJSON_FORCEINLINE bool TranscodeUnsafe (InputStream &is, OutputStream &os)
 
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()

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()

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()

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: