EHS
ehs::ImgCodec Class Reference

#include <ImgCodec.h>

Public Member Functions

 ImgCodec ()
 
 ImgCodec (Str_8 id, Str_8 ext, Endianness end, EncodeImgCb encoder, DecodeImgCb decoder)
 
 ImgCodec (ImgCodec &&codec) noexcept
 
 ImgCodec (const ImgCodec &codec)
 
ImgCodecoperator= (ImgCodec &&codec) noexcept
 
ImgCodecoperator= (const ImgCodec &codec)
 
Str_8 GetId () const
 
UInt_64 GetHashExt () const
 
Str_8 GetExt () const
 
Endianness GetEndianness () const
 
bool Encode (Serializer< UInt_64 > &out, const Img *in) const
 
bool Decode (Serializer< UInt_64 > &in, Img *out) const
 

Constructor & Destructor Documentation

◆ ImgCodec() [1/4]

ehs::ImgCodec::ImgCodec ( )

◆ ImgCodec() [2/4]

ehs::ImgCodec::ImgCodec ( Str_8  id,
Str_8  ext,
Endianness  end,
EncodeImgCb  encoder,
DecodeImgCb  decoder 
)

◆ ImgCodec() [3/4]

ehs::ImgCodec::ImgCodec ( ImgCodec &&  codec)
noexcept

◆ ImgCodec() [4/4]

ehs::ImgCodec::ImgCodec ( const ImgCodec codec)

Member Function Documentation

◆ Decode()

bool ehs::ImgCodec::Decode ( Serializer< UInt_64 > &  in,
Img out 
) const

◆ Encode()

bool ehs::ImgCodec::Encode ( Serializer< UInt_64 > &  out,
const Img in 
) const

◆ GetEndianness()

Endianness ehs::ImgCodec::GetEndianness ( ) const

◆ GetExt()

Str_8 ehs::ImgCodec::GetExt ( ) const

◆ GetHashExt()

UInt_64 ehs::ImgCodec::GetHashExt ( ) const

◆ GetId()

Str_8 ehs::ImgCodec::GetId ( ) const

◆ operator=() [1/2]

ImgCodec & ehs::ImgCodec::operator= ( const ImgCodec codec)

◆ operator=() [2/2]

ImgCodec & ehs::ImgCodec::operator= ( ImgCodec &&  codec)
noexcept

The documentation for this class was generated from the following files: