cphot 0.1
A C++ tool for computing photometry from spectra.
UTF32LE< CharType > Struct Template Reference

UTF-32 little endian enocoding. More...

#include <encodings.h>

+ Inheritance diagram for UTF32LE< CharType >:

Public Types

enum  
 
typedef unsigned Ch
 

Public Member Functions

 RAPIDJSON_STATIC_ASSERT (sizeof(Ch) >=4)
 

Static Public Member Functions

template<typename InputByteStream >
static CharType TakeBOM (InputByteStream &is)
 
template<typename InputByteStream >
static CharType Take (InputByteStream &is)
 
template<typename OutputByteStream >
static void PutBOM (OutputByteStream &os)
 
template<typename OutputByteStream >
static void Put (OutputByteStream &os, CharType c)
 
static void Encode (OutputStream &os, unsigned codepoint)
 
static void EncodeUnsafe (OutputStream &os, unsigned codepoint)
 
static bool Decode (InputStream &is, unsigned *codepoint)
 
static bool Validate (InputStream &is, OutputStream &os)
 

Detailed Description

template<typename CharType = unsigned>
struct UTF32LE< CharType >

UTF-32 little endian enocoding.

Definition at line 457 of file encodings.h.

Member Typedef Documentation

◆ Ch

typedef unsigned UTF32< unsigned >::Ch
inherited

Definition at line 419 of file encodings.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited

Definition at line 422 of file encodings.h.

Member Function Documentation

◆ Decode()

static bool UTF32< unsigned >::Decode ( InputStream &  is,
unsigned *  codepoint 
)
inlinestaticinherited

Definition at line 439 of file encodings.h.

◆ Encode()

static void UTF32< unsigned >::Encode ( OutputStream &  os,
unsigned  codepoint 
)
inlinestaticinherited

Definition at line 425 of file encodings.h.

◆ EncodeUnsafe()

static void UTF32< unsigned >::EncodeUnsafe ( OutputStream &  os,
unsigned  codepoint 
)
inlinestaticinherited

Definition at line 432 of file encodings.h.

◆ Put()

template<typename CharType = unsigned>
template<typename OutputByteStream >
static void UTF32LE< CharType >::Put ( OutputByteStream &  os,
CharType  c 
)
inlinestatic

Definition at line 485 of file encodings.h.

◆ PutBOM()

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

Definition at line 476 of file encodings.h.

◆ RAPIDJSON_STATIC_ASSERT()

UTF32< unsigned >::RAPIDJSON_STATIC_ASSERT ( sizeof(Ch) >=  4)
inherited

◆ Take()

template<typename CharType = unsigned>
template<typename InputByteStream >
static CharType UTF32LE< CharType >::Take ( InputByteStream &  is)
inlinestatic

Definition at line 466 of file encodings.h.

◆ TakeBOM()

template<typename CharType = unsigned>
template<typename InputByteStream >
static CharType UTF32LE< CharType >::TakeBOM ( InputByteStream &  is)
inlinestatic

Definition at line 459 of file encodings.h.

◆ Validate()

static bool UTF32< unsigned >::Validate ( InputStream &  is,
OutputStream &  os 
)
inlinestaticinherited

Definition at line 447 of file encodings.h.


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