BitMagic-C++
Public Member Functions
bm::gamma_decoder< T, TBitIO > Class Template Reference

Elias Gamma decoder. More...

#include <encoding.h>

Public Member Functions

 gamma_decoder (TBitIO &bin)
 
void start ()
 Start encoding sequence. More...
 
void stop ()
 Stop decoding sequence. More...
 
operator() (void)
 Decode word. More...
 
 gamma_decoder (TBitIO &bin)
 
void start ()
 Start encoding sequence. More...
 
void stop ()
 Stop decoding sequence. More...
 
operator() (void)
 Decode word. More...
 

Detailed Description

template<typename T, typename TBitIO>
class bm::gamma_decoder< T, TBitIO >

Elias Gamma decoder.

Definition at line 334 of file encoding.h.

Constructor & Destructor Documentation

◆ gamma_decoder() [1/2]

template<typename T , typename TBitIO >
bm::gamma_decoder< T, TBitIO >::gamma_decoder ( TBitIO &  bin)
inline

Definition at line 337 of file encoding.h.

Referenced by bm::gamma_decoder< T, TBitIO >::operator()().

◆ gamma_decoder() [2/2]

template<typename T , typename TBitIO >
bm::gamma_decoder< T, TBitIO >::gamma_decoder ( TBitIO &  bin)
inline

Definition at line 45 of file bmgamma.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T , typename TBitIO >
T bm::gamma_decoder< T, TBitIO >::operator() ( void  )
inline

Decode word.

Definition at line 63 of file bmgamma.h.

References bm::gamma_decoder< T, TBitIO >::gamma_decoder().

◆ operator()() [2/2]

template<typename T , typename TBitIO >
T bm::gamma_decoder< T, TBitIO >::operator() ( void  )
inline

Decode word.

Definition at line 352 of file encoding.h.

◆ start() [1/2]

template<typename T , typename TBitIO >
void bm::gamma_decoder< T, TBitIO >::start ( )
inline

Start encoding sequence.

Definition at line 51 of file bmgamma.h.

◆ start() [2/2]

template<typename T , typename TBitIO >
void bm::gamma_decoder< T, TBitIO >::start ( )
inline

Start encoding sequence.

Definition at line 342 of file encoding.h.

◆ stop() [1/2]

template<typename T , typename TBitIO >
void bm::gamma_decoder< T, TBitIO >::stop ( )
inline

Stop decoding sequence.

Definition at line 57 of file bmgamma.h.

◆ stop() [2/2]

template<typename T , typename TBitIO >
void bm::gamma_decoder< T, TBitIO >::stop ( )
inline

Stop decoding sequence.

Definition at line 347 of file encoding.h.


The documentation for this class was generated from the following files: