tudocomp
– The TU Dortmund Compression Framework
tdc::SLECoder::Decoder Class Reference

#include <SLECoder.hpp>

Inheritance diagram for tdc::SLECoder::Decoder:
tdc::Decoder tdc::Algorithm

Public Member Functions

 Decoder (Env &&env, std::shared_ptr< BitIStream > in)
 
 Decoder (Env &&env, Input &in)
 
 ~Decoder ()
 
bool eof () const
 
template<typename value_t >
value_t decode (const LiteralRange &)
 
template<typename value_t >
value_t decode (const Range &r)
 
template<typename value_t >
value_t decode (const MinDistributedRange &r)
 
template<typename value_t >
value_t decode (const BitRange &)
 
- 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
 
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
 

Additional Inherited Members

- Protected Attributes inherited from tdc::Decoder
std::shared_ptr< BitIStreamm_in
 The underlying bit input stream. More...
 

Detailed Description

Definition at line 311 of file SLECoder.hpp.

Constructor & Destructor Documentation

◆ Decoder() [1/2]

tdc::SLECoder::Decoder::Decoder ( Env &&  env,
std::shared_ptr< BitIStream in 
)
inline

Definition at line 326 of file SLECoder.hpp.

◆ Decoder() [2/2]

tdc::SLECoder::Decoder::Decoder ( Env &&  env,
Input in 
)
inline

Definition at line 349 of file SLECoder.hpp.

◆ ~Decoder()

tdc::SLECoder::Decoder::~Decoder ( )
inline

Definition at line 353 of file SLECoder.hpp.

Member Function Documentation

◆ decode() [1/4]

template<typename value_t >
value_t tdc::SLECoder::Decoder::decode ( const LiteralRange )
inline

Definition at line 369 of file SLECoder.hpp.

◆ decode() [2/4]

template<typename value_t >
value_t tdc::SLECoder::Decoder::decode ( const Range r)
inline

Definition at line 419 of file SLECoder.hpp.

◆ decode() [3/4]

template<typename value_t >
value_t tdc::SLECoder::Decoder::decode ( const MinDistributedRange r)
inline

Definition at line 425 of file SLECoder.hpp.

◆ decode() [4/4]

template<typename value_t >
value_t tdc::SLECoder::Decoder::decode ( const BitRange )
inline

Definition at line 447 of file SLECoder.hpp.

◆ eof()

bool tdc::SLECoder::Decoder::eof ( ) const
inline

Definition at line 358 of file SLECoder.hpp.


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