tudocomp
– The TU Dortmund Compression Framework
tdc::EliasGammaCoder Class Reference

Defines data encoding to and decoding from a stream of Elias-Gamma codes. More...

#include <EliasGammaCoder.hpp>

Inheritance diagram for tdc::EliasGammaCoder:
tdc::Algorithm

Classes

class  Decoder
 Decodes data from a stream of Elias-Gamma codes. More...
 
class  Encoder
 Encodes data to a stream of Elias-Gamma codes. More...
 

Public Member Functions

 EliasGammaCoder ()=delete
 
- 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 ()
 

Detailed Description

Defines data encoding to and decoding from a stream of Elias-Gamma codes.

All values are encoded using Elias-Gamma code.

Definition at line 11 of file EliasGammaCoder.hpp.

Constructor & Destructor Documentation

◆ EliasGammaCoder()

tdc::EliasGammaCoder::EliasGammaCoder ( )
delete

Member Function Documentation

◆ meta()

static Meta tdc::EliasGammaCoder::meta ( )
inlinestatic

Definition at line 13 of file EliasGammaCoder.hpp.


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