Created by the British Broadcasting Corporation.
#include <arith_codec.h>
|
Default constructor initialises counts to 1 each of 0 and 1. |
|
Constructor initialises the counts to those set. |
|
|
|
|
|
|
|
|
|
|
|
Given a number, return the corresponding symbol and triple. |
|
|
|
Increment the count of symbol by 1.
|
|
|
|
Sets the counts, and then the triples to reflect the counts. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.