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

#include <DRCoder.hpp>

Inheritance diagram for tdc::esp::DWaveletTree:
tdc::Algorithm

Public Member Functions

template<typename rhs_t >
void encode (const rhs_t &rhs, BitOStream &bout, size_t bit_width, size_t max_value) const
 
template<typename rhs_t >
void decode (rhs_t &rhs, BitIStream &bin, 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
 
Algorithmoperator= (Algorithm const &)=default
 
Algorithmoperator= (Algorithm &&)=default
 
 Algorithm (Env &&env)
 Instantiates an algorithm in the specified environment. More...
 
Envenv ()
 Provides access to the environment that the algorithm works in. More...
 
const Envenv () const
 

Static Public Member Functions

static Meta meta ()
 

Detailed Description

Definition at line 96 of file DRCoder.hpp.

Member Function Documentation

◆ decode() [1/2]

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

Definition at line 122 of file DRCoder.hpp.

◆ decode() [2/2]

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

Definition at line 149 of file DRCoder.hpp.

◆ encode() [1/2]

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

Definition at line 106 of file DRCoder.hpp.

◆ encode() [2/2]

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

Definition at line 145 of file DRCoder.hpp.

◆ meta()

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

Definition at line 98 of file DRCoder.hpp.


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