#include <HuffmanCoder.hpp>
|
template<typename literals_t > |
| Encoder (Env &&env, std::shared_ptr< BitOStream > out, literals_t &&literals) |
|
| ~Encoder () |
|
template<typename literals_t > |
| Encoder (Env &&env, Output &out, literals_t &&literals) |
|
template<typename value_t > |
void | encode (value_t v, const LiteralRange &) |
|
template<typename literals_t > |
| Encoder (Env &&env, std::shared_ptr< BitOStream > out, literals_t &&literals) |
| Constructor. More...
|
|
template<typename literals_t > |
| Encoder (Env &&env, Output &out, literals_t &&literals) |
| Convenience constructor. More...
|
|
template<typename value_t > |
void | encode (value_t v, const Range &r) |
| Encodes an arbitrary-range integer value. More...
|
|
template<typename value_t > |
void | encode (value_t v, const BitRange &r) |
| Encodes a bit. More...
|
|
const std::shared_ptr< BitOStream > & | stream () |
|
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 |
|
Definition at line 521 of file coders/HuffmanCoder.hpp.
◆ Encoder() [1/2]
template<typename literals_t >
tdc::HuffmanCoder::Encoder::Encoder |
( |
Env && |
env, |
|
|
std::shared_ptr< BitOStream > |
out, |
|
|
literals_t && |
literals |
|
) |
| |
|
inline |
◆ ~Encoder()
tdc::HuffmanCoder::Encoder::~Encoder |
( |
| ) |
|
|
inline |
◆ Encoder() [2/2]
template<typename literals_t >
tdc::HuffmanCoder::Encoder::Encoder |
( |
Env && |
env, |
|
|
Output & |
out, |
|
|
literals_t && |
literals |
|
) |
| |
|
inline |
◆ encode()
template<typename value_t >
void tdc::HuffmanCoder::Encoder::encode |
( |
value_t |
v, |
|
|
const LiteralRange & |
|
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: