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

Defines data encoding to and decoding from a stream of ASCII characters. More...

#include <ArithmeticCoder.hpp>

Inheritance diagram for tdc::ArithmeticCoder:
tdc::Algorithm

Classes

class  Decoder
 Decodes data from an Arithmetic character stream. More...
 
class  Encoder
 Encodes data to an ASCII character stream. More...
 

Static Public Member Functions

static Meta meta ()
 Yields the coder's meta information. More...
 

Additional Inherited Members

- 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
 

Detailed Description

Defines data encoding to and decoding from a stream of ASCII characters.

Literals are encoded by their character representation, bits are encoded using either the character 0 or 1 and integers are encoded as their string representations, terminated by the : character.

Definition at line 16 of file coders/ArithmeticCoder.hpp.

Member Function Documentation

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

Yields the coder's meta information.

See also
Meta

Definition at line 25 of file coders/ArithmeticCoder.hpp.


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