tudocomp
– The TU Dortmund Compression Framework
tdc::LZ78UCompressor< strategy_t, ref_coder_t > Class Template Reference

#include <LZ78UCompressor.hpp>

Inheritance diagram for tdc::LZ78UCompressor< strategy_t, ref_coder_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LZ78UCompressor (Env &&env)
 
virtual void compress (Input &input, Output &out) override
 Compress the given input to the given output. More...
 
virtual void decompress (Input &input, Output &output) overridefinal
 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 strategy_t, typename ref_coder_t>
class tdc::LZ78UCompressor< strategy_t, ref_coder_t >

Definition at line 90 of file LZ78UCompressor.hpp.

Constructor & Destructor Documentation

template<typename strategy_t , typename ref_coder_t >
tdc::LZ78UCompressor< strategy_t, ref_coder_t >::LZ78UCompressor ( Env &&  env)
inline

Definition at line 103 of file LZ78UCompressor.hpp.

Member Function Documentation

template<typename strategy_t , typename ref_coder_t >
virtual void tdc::LZ78UCompressor< strategy_t, ref_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 117 of file LZ78UCompressor.hpp.

template<typename strategy_t , typename ref_coder_t >
virtual void tdc::LZ78UCompressor< strategy_t, ref_coder_t >::decompress ( Input input,
Output output 
)
inlinefinaloverridevirtual

Decompress the given input to the given output.

Parameters
inputThe input.
outputThe output.

Implements tdc::Compressor.

Definition at line 273 of file LZ78UCompressor.hpp.

template<typename strategy_t , typename ref_coder_t >
static Meta tdc::LZ78UCompressor< strategy_t, ref_coder_t >::meta ( )
inlinestatic

Definition at line 107 of file LZ78UCompressor.hpp.


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