Encodes data to an ASCII character stream.
More...
#include <ASCIICoder.hpp>
|
| template<typename value_t > |
| void | encode (value_t v, const Range &) |
| |
| template<typename value_t > |
| void | encode (value_t v, const LiteralRange &) |
| |
| template<typename value_t > |
| void | encode (value_t v, const BitRange &) |
| |
| template<> |
| void | encode (uliteral_t v, const Range &r) |
| |
| 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 |
| |
Encodes data to an ASCII character stream.
Definition at line 29 of file ASCIICoder.hpp.
◆ encode() [1/4]
template<typename value_t >
| void tdc::ASCIICoder::Encoder::encode |
( |
value_t |
v, |
|
|
const Range & |
|
|
) |
| |
|
inline |
◆ encode() [2/4]
template<typename value_t >
| void tdc::ASCIICoder::Encoder::encode |
( |
value_t |
v, |
|
|
const LiteralRange & |
|
|
) |
| |
|
inline |
◆ encode() [3/4]
template<typename value_t >
| void tdc::ASCIICoder::Encoder::encode |
( |
value_t |
v, |
|
|
const BitRange & |
|
|
) |
| |
|
inline |
◆ encode() [4/4]
The documentation for this class was generated from the following file: