Sese Framework
2.3.0
A cross-platform framework
|
Huffman node. More...
#include <Huffman.h>
Public Member Functions | |
huffman_node_t (huffman_node_t *l=nullptr, huffman_node_t *r=nullptr, int16_t c=-1) noexcept | |
virtual | ~huffman_node_t () |
int16_t | code () const |
void | code (int16_t c) |
huffman_node_t * | left () |
void | left (huffman_node_t *l) |
huffman_node_t * | right () |
void | right (huffman_node_t *r) |
Protected Attributes | |
huffman_node_t * | m_left |
huffman_node_t * | m_right |
int16_t | m_code |
Huffman node.
|
explicitnoexcept |
|
inlinevirtual |
|
inlinenodiscard |
References m_code.
Referenced by sese::net::http::huffman_tree_t::decode(), and sese::net::http::huffman_tree_t::huffman_tree_t().
|
inline |
References m_left.
Referenced by sese::net::http::huffman_tree_t::decode(), and sese::net::http::huffman_tree_t::huffman_tree_t().
|
inline |
References m_left.
|
inline |
References m_right.
Referenced by sese::net::http::huffman_tree_t::decode(), and sese::net::http::huffman_tree_t::huffman_tree_t().
|
inline |
References m_right.
|
protected |
Referenced by code(), code(), and ~huffman_node_t().
|
protected |
Referenced by left(), left(), and ~huffman_node_t().
|
protected |
Referenced by right(), right(), and ~huffman_node_t().