Go to the source code of this file.
|
| tdc |
| Contains the text compression and encoding framework.
|
|
◆ DECODER_CTOR
#define DECODER_CTOR |
( |
|
env, |
|
|
|
in |
|
) |
| |
Value:inline Decoder(Env&& env,
Input& in) \
: Decoder(std::move(env), \
std::make_shared<BitIStream>(in)) {} \
inline Decoder(Env&& env, std::shared_ptr<BitIStream> in) \
io::Input Input
Convenience shortcut to io::Input.
Defines constructors for clases inheriting from tdc::Decoder.
This includes a convenience constructor that automatically opens a bit input stream on an tdc::Input.
- Parameters
-
env | The variable name for the environment. |
in | The variable name for the bit input stream. |
Definition at line 156 of file Coder.hpp.