tudocomp
– The TU Dortmund Compression Framework
tdc::LiteralEncoder< coder_t > Class Template Reference

#include <LiteralEncoder.hpp>

Inheritance diagram for tdc::LiteralEncoder< coder_t >:
tdc::Compressor tdc::Algorithm

Public Member Functions

 LiteralEncoder (Env &&env)
 
virtual void compress (Input &input, Output &output) override final
 Compress the given input to the given output. More...
 
virtual void decompress (Input &input, Output &output) override final
 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 coder_t>
class tdc::LiteralEncoder< coder_t >

Definition at line 12 of file LiteralEncoder.hpp.

Constructor & Destructor Documentation

◆ LiteralEncoder()

template<typename coder_t >
tdc::LiteralEncoder< coder_t >::LiteralEncoder ( Env &&  env)
inline

Definition at line 21 of file LiteralEncoder.hpp.

Member Function Documentation

◆ compress()

template<typename coder_t >
virtual void tdc::LiteralEncoder< coder_t >::compress ( Input input,
Output output 
)
inlinefinaloverridevirtual

Compress the given input to the given output.

Parameters
inputThe input.
outputThe output.

Implements tdc::Compressor.

Definition at line 23 of file LiteralEncoder.hpp.

◆ decompress()

template<typename coder_t >
virtual void tdc::LiteralEncoder< 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 34 of file LiteralEncoder.hpp.

◆ meta()

template<typename coder_t >
static Meta tdc::LiteralEncoder< coder_t >::meta ( )
inlinestatic

Definition at line 15 of file LiteralEncoder.hpp.


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