Octane v1.01.20 - The Open Compression Toolkit for C++ | http://octane.sourceforge.net/ |
#include <huffmannodes.hpp>
Inheritance diagram for HuffNode_Middle:
It holds pointers to other children nodes.
Definition at line 151 of file huffmannodes.hpp.
Public Member Functions | |
HuffNode_Middle (HuffNode *c0, HuffNode *c1) | |
constructor | |
virtual | ~HuffNode_Middle () |
destructor | |
void | recursive_freechildren () |
freeing memory occupied by this node and any children | |
virtual void | traverse_buildbitcodes (std::bitset< DEF_HUFFMANPQ_MAXFUNCBITS > ¤t_bitset, int bitsetlength) |
recursive traversal of huffman tree for building bitcodes | |
virtual unsigned int | get_memoryused () const |
get memory used by the node and its children | |
virtual HuffNode * | get_child0 () |
get pointer to left child | |
virtual HuffNode * | get_child1 () |
get pointer to right child | |
bool | isleaf () |
is this a leaf node (this is an RTTI type function) | |
Protected Attributes | |
HuffNode * | child0 |
pointer to left child | |
HuffNode * | child1 |
pointer to right child |
|
destructor
Definition at line 162 of file huffmannodes.hpp.
00162 { ; } |