Camstream: CamStream API documentation

Main Page Class Hierarchy Compound List File List Compound Members File Members

# HuffNode Struct Reference

List of all members.

## Public Methods

- HuffNode (int value, int number)
- ~HuffNode ()
- void SetCode (int code, int code_len)
- void SetCodes ()
- void SetNodes (HuffNode *l, HuffNode *r)
- void Exchange (HuffNode *other)
- int GetCodeLength ()
- void Emit ()
- void Print ()

## Public Attributes

- struct HuffNode* Parent
- struct HuffNode * Left
- struct HuffNode * Right
- int Value
- int Number
- int Weight
- int Code
- int CodeLength

## Constructor & Destructor Documentation

HuffNode::HuffNode ( | int value,
| int number )

HuffNode::~HuffNode ( | )

## Member Function Documentation

void HuffNode::Emit ( | )

void HuffNode::Exchange ( | HuffNode * other )

int HuffNode::GetCodeLength ( | )

void HuffNode::Print ( | )

void HuffNode::SetCode ( | int code,
| int code_len )

void HuffNode::SetCodes ( | )

void HuffNode::SetNodes ( | HuffNode * l,
| HuffNode * r )

## Member Data Documentation

int HuffNode::Code

int HuffNode::CodeLength

struct HuffNode * HuffNode::Left

int HuffNode::Number

struct HuffNode* HuffNode::Parent

struct HuffNode * HuffNode::Right

int HuffNode::Value

int HuffNode::Weight

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

- AdaptiveHuffman.cc