tudocomp
– The TU Dortmund Compression Framework
|
#include <RunLengthEncoder.hpp>
Public Member Functions | |
RunLengthEncoder (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 | |
Compressor & | operator= (Compressor const &)=default |
Compressor & | operator= (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 | |
Algorithm & | operator= (Algorithm const &)=default |
Algorithm & | operator= (Algorithm &&)=default |
Algorithm (Env &&env) | |
Instantiates an algorithm in the specified environment. More... | |
Env & | env () |
Provides access to the environment that the algorithm works in. More... | |
const Env & | env () const |
Static Public Member Functions | |
static Meta | meta () |
Public Attributes | |
const size_t | m_offset |
Definition at line 52 of file RunLengthEncoder.hpp.
|
inline |
Definition at line 60 of file RunLengthEncoder.hpp.
|
inlineoverridevirtual |
Compress the given input to the given output.
input | The input. |
output | The output. |
Implements tdc::Compressor.
Definition at line 64 of file RunLengthEncoder.hpp.
|
inlineoverridevirtual |
Decompress the given input to the given output.
input | The input. |
output | The output. |
Implements tdc::Compressor.
Definition at line 69 of file RunLengthEncoder.hpp.
|
inlinestatic |
Definition at line 54 of file RunLengthEncoder.hpp.
const size_t tdc::RunLengthEncoder::m_offset |
Definition at line 59 of file RunLengthEncoder.hpp.