dlvhex  2.5.0
bm::gamma_encoder< T, TBitIO > Class Template Reference

Functor for Elias Gamma encoding. More...

#include <vs10/bm/encoding.h>

Public Member Functions

 gamma_encoder (TBitIO &bout)
BMFORCEINLINE void operator() (T value)
 Encode word.
 gamma_encoder (TBitIO &bout)
BMFORCEINLINE void operator() (T value)
 Encode word.

Private Member Functions

 gamma_encoder (const gamma_encoder &)
gamma_encoderoperator= (const gamma_encoder &)
 gamma_encoder (const gamma_encoder &)
gamma_encoderoperator= (const gamma_encoder &)

Private Attributes

TBitIO & bout_

Detailed Description

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

Functor for Elias Gamma encoding.

Definition at line 440 of file encoding.h.


Constructor & Destructor Documentation

template<typename T , typename TBitIO >
bm::gamma_encoder< T, TBitIO >::gamma_encoder ( TBitIO &  bout) [inline]

Definition at line 443 of file encoding.h.

template<typename T , typename TBitIO >
bm::gamma_encoder< T, TBitIO >::gamma_encoder ( const gamma_encoder< T, TBitIO > &  ) [private]
template<typename T , typename TBitIO >
bm::gamma_encoder< T, TBitIO >::gamma_encoder ( TBitIO &  bout) [inline]

Definition at line 443 of file encoding.h.

template<typename T , typename TBitIO >
bm::gamma_encoder< T, TBitIO >::gamma_encoder ( const gamma_encoder< T, TBitIO > &  ) [private]

Member Function Documentation

template<typename T , typename TBitIO >
BMFORCEINLINE void bm::gamma_encoder< T, TBitIO >::operator() ( value) [inline]

Encode word.

Definition at line 450 of file encoding.h.

References bm::gamma_encoder< T, TBitIO >::bout_.

template<typename T , typename TBitIO >
BMFORCEINLINE void bm::gamma_encoder< T, TBitIO >::operator() ( value) [inline]

Encode word.

Definition at line 450 of file encoding.h.

References bm::gamma_encoder< T, TBitIO >::bout_.

template<typename T , typename TBitIO >
gamma_encoder& bm::gamma_encoder< T, TBitIO >::operator= ( const gamma_encoder< T, TBitIO > &  ) [private]
template<typename T , typename TBitIO >
gamma_encoder& bm::gamma_encoder< T, TBitIO >::operator= ( const gamma_encoder< T, TBitIO > &  ) [private]

Field Documentation

template<typename T , typename TBitIO >
TBitIO & bm::gamma_encoder< T, TBitIO >::bout_ [private]

Definition at line 458 of file encoding.h.

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


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