tudocomp
– The TU Dortmund Compression Framework
tdc::esp::DebugContext Class Reference

#include <DebugContext.hpp>

Inheritance diagram for tdc::esp::DebugContext:
tdc::esp::DebugContextBase< DebugContextData >

Public Member Functions

 DebugContext (std::ostream &o, bool p_en, bool p_ea)
 
void input_string (string_ref s)
 
void generate_grammar (bool empty, size_t root_node)
 
void encode_start ()
 
void encode_max_value (size_t value, size_t bits)
 
void encode_root_node (size_t node)
 
void encode_rule_start ()
 
template<typename T >
void encode_rule (const T &rule)
 
DebugRoundContext round ()
 
- Public Member Functions inherited from tdc::esp::DebugContextBase< DebugContextData >
 DebugContextBase (const DebugContextBase &other)
 
void print_all () const
 

Additional Inherited Members

- Protected Member Functions inherited from tdc::esp::DebugContextBase< DebugContextData >
 DebugContextBase (std::ostream &o, bool p_en, bool p_ea)
 
 DebugContextBase (DebugContextBase< U > &parent)
 
void with_child (F f)
 
void print (F f)
 
- Static Protected Member Functions inherited from tdc::esp::DebugContextBase< DebugContextData >
static std::vector< size_t > cast_vec (const U &v)
 

Detailed Description

Definition at line 339 of file DebugContext.hpp.

Constructor & Destructor Documentation

◆ DebugContext()

tdc::esp::DebugContext::DebugContext ( std::ostream &  o,
bool  p_en,
bool  p_ea 
)
inline

Definition at line 341 of file DebugContext.hpp.

Member Function Documentation

◆ encode_max_value()

void tdc::esp::DebugContext::encode_max_value ( size_t  value,
size_t  bits 
)
inline

Definition at line 379 of file DebugContext.hpp.

◆ encode_root_node()

void tdc::esp::DebugContext::encode_root_node ( size_t  node)
inline

Definition at line 391 of file DebugContext.hpp.

◆ encode_rule()

template<typename T >
void tdc::esp::DebugContext::encode_rule ( const T &  rule)
inline

Definition at line 410 of file DebugContext.hpp.

◆ encode_rule_start()

void tdc::esp::DebugContext::encode_rule_start ( )
inline

Definition at line 401 of file DebugContext.hpp.

◆ encode_start()

void tdc::esp::DebugContext::encode_start ( )
inline

Definition at line 371 of file DebugContext.hpp.

◆ generate_grammar()

void tdc::esp::DebugContext::generate_grammar ( bool  empty,
size_t  root_node 
)
inline

Definition at line 358 of file DebugContext.hpp.

◆ input_string()

void tdc::esp::DebugContext::input_string ( string_ref  s)
inline

Definition at line 348 of file DebugContext.hpp.

◆ round()

DebugRoundContext tdc::esp::DebugContext::round ( )
inline

Definition at line 421 of file DebugContext.hpp.


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