#include <Syndicate/Data/HuffmanTable.h>
Public Member Functions | |
HuffmanTable (Bitstream *bs) | |
~HuffmanTable (void) | |
unsigned | getValue (Bitstream *bs=0) |
Private Attributes | |
Node * | _root |
Bitstream * | _bs |
Classes | |
struct | Node |
Syndicate::Data::HuffmanTable::HuffmanTable | ( | Bitstream * | bs | ) |
Instanciate a tree with the given stream.
[in] | bs | a pointer to the stream |
Syndicate::Data::HuffmanTable::~HuffmanTable | ( | void | ) |
unsigned Syndicate::Data::HuffmanTable::getValue | ( | Bitstream * | bs = 0 |
) |
Give the value of the tree according to the stream.
[in] | bs | is a pointer to a stream. If not given take the original stream. |
Node* Syndicate::Data::HuffmanTable::_root [private] |
Bitstream* Syndicate::Data::HuffmanTable::_bs [private] |