tudocomp
– The TU Dortmund Compression Framework
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Coder.hpp File Reference

Go to the source code of this file.

Classes

class  tdc::Encoder
 Base for data encoders. More...
 
class  tdc::Decoder
 Base for data decoders. More...
 

Namespaces

 tdc
 Contains the text compression and encoding framework.
 

Macros

#define DECODER_CTOR(env, in)
 Defines constructors for clases inheriting from tdc::Decoder. More...
 

Macro Definition Documentation

◆ 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) \
: tdc::Decoder(std::move(env), in)
io::Input Input
Convenience shortcut to io::Input.
Definition: io.hpp:17
Base for data decoders.
Definition: Coder.hpp:87

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
envThe variable name for the environment.
inThe variable name for the bit input stream.

Definition at line 156 of file Coder.hpp.