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

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

#include <ASCIICoder.hpp>

Inheritance diagram for tdc::ASCIICoder:
tdc::Algorithm

Classes

class  Decoder
 Decodes data from an ASCII 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 15 of file ASCIICoder.hpp.

Member Function Documentation

◆ meta()

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

Yields the coder's meta information.

See also
Meta

Definition at line 19 of file ASCIICoder.hpp.


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