tudocomp
– The TU Dortmund Compression Framework
tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_t > Class Template Reference

#include <LFSCompressor.hpp>

Inheritance diagram for tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LFSCompressor (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 comp_strategy_t, typename coding_strat_t = EncodeStrategy<HuffmanCoder, EliasGammaCoder>>
class tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_t >

Definition at line 28 of file LFSCompressor.hpp.

Constructor & Destructor Documentation

◆ LFSCompressor()

template<typename comp_strategy_t , typename coding_strat_t = EncodeStrategy<HuffmanCoder, EliasGammaCoder>>
tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_t >::LFSCompressor ( Env &&  env)
inline

Definition at line 49 of file LFSCompressor.hpp.

Member Function Documentation

◆ compress()

template<typename comp_strategy_t , typename coding_strat_t = EncodeStrategy<HuffmanCoder, EliasGammaCoder>>
virtual void tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_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 54 of file LFSCompressor.hpp.

◆ decompress()

template<typename comp_strategy_t , typename coding_strat_t = EncodeStrategy<HuffmanCoder, EliasGammaCoder>>
virtual void tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_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 99 of file LFSCompressor.hpp.

◆ meta()

template<typename comp_strategy_t , typename coding_strat_t = EncodeStrategy<HuffmanCoder, EliasGammaCoder>>
static Meta tdc::lfs::LFSCompressor< comp_strategy_t, coding_strat_t >::meta ( )
inlinestatic

Definition at line 38 of file LFSCompressor.hpp.


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