tudocomp
– The TU Dortmund Compression Framework
|
Decodes data from an ASCII character stream. More...
#include <ASCIICoder.hpp>
Public Member Functions | |
template<typename value_t > | |
value_t | decode (const Range &) |
template<typename value_t > | |
value_t | decode (const LiteralRange &) |
template<typename value_t > | |
value_t | decode (const BitRange &) |
template<> | |
uliteral_t | decode (const Range &r) |
Public Member Functions inherited from tdc::Decoder | |
Decoder (Env &&env, std::shared_ptr< BitIStream > in) | |
Constructor. More... | |
Decoder (Env &&env, Input &in) | |
Convenience constructor. More... | |
bool | eof () const |
Tests whether the end of the bit input stream has been reached. More... | |
template<typename value_t > | |
value_t | decode (const Range &r) |
Decodes an arbitrary-range integer value. More... | |
template<typename value_t > | |
value_t | decode (const BitRange &r) |
Decodes a bit. More... | |
const std::shared_ptr< BitIStream > & | stream () |
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 |
Additional Inherited Members | |
Protected Attributes inherited from tdc::Decoder | |
std::shared_ptr< BitIStream > | m_in |
The underlying bit input stream. More... | |
Decodes data from an ASCII character stream.
Definition at line 53 of file ASCIICoder.hpp.
|
inline |
Definition at line 58 of file ASCIICoder.hpp.
|
inline |
Definition at line 76 of file ASCIICoder.hpp.
|
inline |
Definition at line 81 of file ASCIICoder.hpp.
|
inline |
Definition at line 94 of file ASCIICoder.hpp.