dlvhex  2.5.0
bm::bit_in< TDecoder > Class Template Reference

Byte based reader for un-aligned bit streaming. More...

#include <vs10/bm/encoding.h>

Public Member Functions

 bit_in (TDecoder &decoder)
unsigned gamma ()
 bit_in (TDecoder &decoder)
unsigned gamma ()

Private Member Functions

 bit_in (const bit_in &)
bit_inoperator= (const bit_in &)
 bit_in (const bit_in &)
bit_inoperator= (const bit_in &)

Private Attributes

TDecoder & src_
 Source of bytes.
unsigned used_bits_
 Bits used in the accumulator.
unsigned accum_
 read bit accumulator

Detailed Description

template<class TDecoder>
class bm::bit_in< TDecoder >

Byte based reader for un-aligned bit streaming.

See also:
encoder

Definition at line 333 of file encoding.h.


Constructor & Destructor Documentation

template<class TDecoder >
bm::bit_in< TDecoder >::bit_in ( TDecoder &  decoder) [inline]

Definition at line 336 of file encoding.h.

template<class TDecoder >
bm::bit_in< TDecoder >::bit_in ( const bit_in< TDecoder > &  ) [private]
template<class TDecoder >
bm::bit_in< TDecoder >::bit_in ( TDecoder &  decoder) [inline]

Definition at line 336 of file encoding.h.

template<class TDecoder >
bm::bit_in< TDecoder >::bit_in ( const bit_in< TDecoder > &  ) [private]

Member Function Documentation

template<class TDecoder >
unsigned bm::bit_in< TDecoder >::gamma ( ) [inline]
template<class TDecoder >
unsigned bm::bit_in< TDecoder >::gamma ( ) [inline]
template<class TDecoder >
bit_in& bm::bit_in< TDecoder >::operator= ( const bit_in< TDecoder > &  ) [private]
template<class TDecoder >
bit_in& bm::bit_in< TDecoder >::operator= ( const bit_in< TDecoder > &  ) [private]

Field Documentation

template<class TDecoder >
unsigned bm::bit_in< TDecoder >::accum_ [private]

read bit accumulator

Definition at line 432 of file encoding.h.

Referenced by bm::bit_in< TDecoder >::gamma().

template<class TDecoder >
TDecoder & bm::bit_in< TDecoder >::src_ [private]

Source of bytes.

Definition at line 430 of file encoding.h.

Referenced by bm::bit_in< TDecoder >::gamma().

template<class TDecoder >
unsigned bm::bit_in< TDecoder >::used_bits_ [private]

Bits used in the accumulator.

Definition at line 431 of file encoding.h.

Referenced by bm::bit_in< TDecoder >::gamma().


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