tudocomp
– The TU Dortmund Compression Framework
tdc::esp::DPlain Class Reference

#include <DRCoder.hpp>

Inheritance diagram for tdc::esp::DPlain:
tdc::Algorithm

Public Member Functions

template<typename rhs_t >
void encode (const rhs_t &rhs, BitOStream &out, size_t bit_width, size_t max_value) const
 
template<typename rhs_t >
void decode (rhs_t &rhs, BitIStream &in, size_t bit_width, size_t max_value) const
 
template<typename rhs_t >
void encode (const rhs_t &rhs, std::shared_ptr< BitOStream > &out, size_t bit_width, size_t max_value) const
 
template<typename rhs_t >
void decode (rhs_t &rhs, std::shared_ptr< BitIStream > &in, size_t bit_width, size_t max_value) const
 
- Public Member Functions inherited from tdc::Algorithm
virtual ~Algorithm ()=default
 
 Algorithm (Algorithm const &)=default
 
 Algorithm (Algorithm &&)=default
 
Algorithm & operator= (Algorithm const &)=default
 
Algorithm & operator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Env & env ()
 Provides access to the environment that the algorithm works in. More...
 
const Env & env () const
 

Static Public Member Functions

static Meta meta ()
 

Detailed Description

Definition at line 66 of file DRCoder.hpp.

Member Function Documentation

◆ decode() [1/2]

template<typename rhs_t >
void tdc::esp::DPlain::decode ( rhs_t &  rhs,
BitIStream &  in,
size_t  bit_width,
size_t  max_value 
) const
inline

Definition at line 82 of file DRCoder.hpp.

◆ decode() [2/2]

template<typename rhs_t >
void tdc::esp::DPlain::decode ( rhs_t &  rhs,
std::shared_ptr< BitIStream > &  in,
size_t  bit_width,
size_t  max_value 
) const
inline

Definition at line 92 of file DRCoder.hpp.

◆ encode() [1/2]

template<typename rhs_t >
void tdc::esp::DPlain::encode ( const rhs_t &  rhs,
BitOStream &  out,
size_t  bit_width,
size_t  max_value 
) const
inline

Definition at line 76 of file DRCoder.hpp.

◆ encode() [2/2]

template<typename rhs_t >
void tdc::esp::DPlain::encode ( const rhs_t &  rhs,
std::shared_ptr< BitOStream > &  out,
size_t  bit_width,
size_t  max_value 
) const
inline

Definition at line 88 of file DRCoder.hpp.

◆ meta()

static Meta tdc::esp::DPlain::meta ( )
inlinestatic

Definition at line 68 of file DRCoder.hpp.


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