tudocomp
– The TU Dortmund Compression Framework
tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t > Class Template Reference

#include <LFS2BSTCompressor.hpp>

Inheritance diagram for tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LFS2BSTCompressor (Env &&env)
 
virtual void compress (Input &input, Output &output) override
 Compress the given input to the given output. More...
 
virtual void decompress (Input &input, Output &output) override
 Decompress the given input to the given output. More...
 
- Public Member Functions inherited from tdc::Compressor
virtual ~Compressor ()=default
 
 Compressor (Compressor const &)=default
 
 Compressor (Compressor &&)=default
 
Compressoroperator= (Compressor const &)=default
 
Compressoroperator= (Compressor &&)=default
 
 Compressor (Env &&env)
 Construct the compressor with an environment. More...
 
- 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

template<typename literal_coder_t = HuffmanCoder, typename len_coder_t = EliasGammaCoder>
class tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t >

Definition at line 37 of file LFS2BSTCompressor.hpp.

Constructor & Destructor Documentation

◆ LFS2BSTCompressor()

template<typename literal_coder_t = HuffmanCoder, typename len_coder_t = EliasGammaCoder>
tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t >::LFS2BSTCompressor ( Env &&  env)
inline

Definition at line 114 of file LFS2BSTCompressor.hpp.

Member Function Documentation

◆ compress()

template<typename literal_coder_t = HuffmanCoder, typename len_coder_t = EliasGammaCoder>
virtual void tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t >::compress ( Input input,
Output output 
)
inlineoverridevirtual

Compress the given input to the given output.

Parameters
inputThe input.
outputThe output.

Implements tdc::Compressor.

Definition at line 119 of file LFS2BSTCompressor.hpp.

◆ decompress()

template<typename literal_coder_t = HuffmanCoder, typename len_coder_t = EliasGammaCoder>
virtual void tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t >::decompress ( Input input,
Output output 
)
inlineoverridevirtual

Decompress the given input to the given output.

Parameters
inputThe input.
outputThe output.

Implements tdc::Compressor.

Definition at line 523 of file LFS2BSTCompressor.hpp.

◆ meta()

template<typename literal_coder_t = HuffmanCoder, typename len_coder_t = EliasGammaCoder>
static Meta tdc::lfs::LFS2BSTCompressor< literal_coder_t, len_coder_t >::meta ( )
inlinestatic

Definition at line 102 of file LFS2BSTCompressor.hpp.


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