#include <arith_codec.h>
Public Member Functions | |
Triple () | |
Constructor. | |
Triple (code_t start, code_t stop, code_t weight) | |
Triple (const Triple &rhs) | |
copy constructor | |
Triple & | operator= (const Triple &rhs) |
assignment | |
code_t | Start () const |
code_t | Stop () const |
code_t | Weight () const |
A class for encapsulating a subinterval of the unit interval [0,1) (0<=x<1) as a start value, a stop value (numerators) and a weight value (the denominator). The interval is the to be interpreted as [m_start/m_weight,m_stop/m_weight).
Definition at line 144 of file arith_codec.h.