Sese Framework
2.3.0
A cross-platform framework
|
Huffman Tree. More...
#include <Huffman.h>
Public Member Functions | |
huffman_tree_t () noexcept | |
virtual | ~huffman_tree_t () noexcept |
std::optional< std::string > | decode (const char *src, size_t len) const |
Protected Member Functions | |
void | delete_node (huffman_node_t *n) noexcept |
Protected Attributes | |
huffman_node_t * | m_root |
Huffman Tree.
|
noexcept |
|
virtualnoexcept |
References delete_node(), and m_root.
std::optional< std::string > huffman_tree_t::decode | ( | const char * | src, |
size_t | len ) const |
|
protectednoexcept |
Referenced by ~huffman_tree_t().
|
protected |
Referenced by decode(), huffman_tree_t(), and ~huffman_tree_t().