Tree Compression with Top Trees Revisited
Public Member Functions | Public Attributes | List of all members
HuffLeaf Struct Reference

A leaf in a Huffman tree. More...

#include <Huffman.h>

Inheritance diagram for HuffLeaf:
Inheritance graph
[legend]
Collaboration diagram for HuffLeaf:
Collaboration graph
[legend]

Public Member Functions

 HuffLeaf (const int symbolId, const int frequency)
 Construct a Huffman leaf from symbol ID and frequency. More...
 
- Public Member Functions inherited from HuffNode
virtual ~HuffNode ()
 

Public Attributes

const int symbolId
 
- Public Attributes inherited from HuffNode
const int frequency
 

Additional Inherited Members

- Protected Member Functions inherited from HuffNode
 HuffNode (const int frequency)
 

Detailed Description

A leaf in a Huffman tree.

Definition at line 22 of file Huffman.h.

Constructor & Destructor Documentation

HuffLeaf::HuffLeaf ( const int  symbolId,
const int  frequency 
)
inline

Construct a Huffman leaf from symbol ID and frequency.

Definition at line 25 of file Huffman.h.

Member Data Documentation

const int HuffLeaf::symbolId

Definition at line 23 of file Huffman.h.


The documentation for this struct was generated from the following file: