Internal struct representing nodes of the huffman code tree.
Definition at line 148 of file huffman.hpp.
#include <huffman.hpp>
Public Field Index: | |
Node * | left |
The left child node. | |
Node * | right |
The right child node. | |
uint8_t | symbol |
Public Method Index: | |
Node () | |
Node* left |
The left child node.
Definition at line 150 of file huffman.hpp.
Node* right |
The right child node.
Definition at line 151 of file huffman.hpp.
uint8_t symbol |
If this is a leaf node (neither left nor right are set, then then this is the symbol found.
Definition at line 152 of file huffman.hpp.
|
inline |
Constructor.
Definition at line 156 of file huffman.hpp.