Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::net::http::huffman_tree_t Class Reference

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_tm_root
 

Detailed Description

Huffman Tree.

Constructor & Destructor Documentation

◆ huffman_tree_t()

◆ ~huffman_tree_t()

huffman_tree_t::~huffman_tree_t ( )
virtualnoexcept

References delete_node(), and m_root.

Member Function Documentation

◆ decode()

std::optional< std::string > huffman_tree_t::decode ( const char * src,
size_t len ) const

◆ delete_node()

void huffman_tree_t::delete_node ( huffman_node_t * n)
protectednoexcept

Referenced by ~huffman_tree_t().

Member Data Documentation

◆ m_root

huffman_node_t* sese::net::http::huffman_tree_t::m_root
protected

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