BitMagic-C++
Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes
bm::deseriaizer_base< DEC > Class Template Reference

Base deserialization class. More...

#include <bmserial.h>

Inheritance diagram for bm::deseriaizer_base< DEC >:
Inheritance graph
[legend]

Protected Types

typedef DEC decoder_type
 

Protected Member Functions

 deseriaizer_base ()
 
void read_gap_block (decoder_type &decoder, unsigned block_type, bm::gap_word_t *dst_block, bm::gap_word_t &gap_head)
 Read GAP block from the stream. More...
 
unsigned read_id_list (decoder_type &decoder, unsigned block_type, bm::gap_word_t *dst_arr)
 Read list of bit ids. More...
 
void read_bic_arr (decoder_type &decoder, bm::word_t *blk)
 Read binary interpolated list into a bit-set. More...
 
void read_bic_gap (decoder_type &decoder, bm::word_t *blk)
 Read binary interpolated gap blocks into a bitset. More...
 
void read_bic_arr_inv (decoder_type &decoder, bm::word_t *blk)
 Read inverted binary interpolated list into a bit-set. More...
 
void read_digest0_block (decoder_type &decoder, bm::word_t *blk)
 Read digest0-type bit-block. More...
 

Static Protected Member Functions

static void read_0runs_block (decoder_type &decoder, bm::word_t *blk)
 read bit-block encoded as runs More...
 
static const char * err_msg ()
 

Protected Attributes

bm::gap_word_tid_array_
 ptr to idx array for temp decode use More...
 

Detailed Description

template<class DEC>
class bm::deseriaizer_base< DEC >

Base deserialization class.

Definition at line 328 of file bmserial.h.

Member Typedef Documentation

◆ decoder_type

template<class DEC>
typedef DEC bm::deseriaizer_base< DEC >::decoder_type
protected

Definition at line 331 of file bmserial.h.

Constructor & Destructor Documentation

◆ deseriaizer_base()

template<class DEC>
bm::deseriaizer_base< DEC >::deseriaizer_base ( )
inlineprotected

Definition at line 334 of file bmserial.h.

Member Function Documentation

◆ err_msg()

template<class DEC>
static const char* bm::deseriaizer_base< DEC >::err_msg ( )
inlinestaticprotected

◆ read_0runs_block()

template<class DEC >
void bm::deseriaizer_base< DEC >::read_0runs_block ( decoder_type decoder,
bm::word_t blk 
)
staticprotected

read bit-block encoded as runs

Definition at line 2096 of file bmserial.h.

◆ read_bic_arr()

template<class DEC >
void bm::deseriaizer_base< DEC >::read_bic_arr ( decoder_type decoder,
bm::word_t blk 
)
protected

◆ read_bic_arr_inv()

template<class DEC >
void bm::deseriaizer_base< DEC >::read_bic_arr_inv ( decoder_type decoder,
bm::word_t blk 
)
protected

◆ read_bic_gap()

template<class DEC >
void bm::deseriaizer_base< DEC >::read_bic_gap ( decoder_type decoder,
bm::word_t blk 
)
protected

◆ read_digest0_block()

template<class DEC >
void bm::deseriaizer_base< DEC >::read_digest0_block ( decoder_type decoder,
bm::word_t blk 
)
protected

◆ read_gap_block()

template<class DEC >
void bm::deseriaizer_base< DEC >::read_gap_block ( decoder_type decoder,
unsigned  block_type,
bm::gap_word_t dst_block,
bm::gap_word_t gap_head 
)
protected

Read GAP block from the stream.

Definition at line 2124 of file bmserial.h.

Referenced by bm::serial_stream_iterator< DEC >::get_gap_block().

◆ read_id_list()

template<class DEC >
unsigned bm::deseriaizer_base< DEC >::read_id_list ( decoder_type decoder,
unsigned  block_type,
bm::gap_word_t dst_arr 
)
protected

Read list of bit ids.

Returns
number of ids

Definition at line 1938 of file bmserial.h.

Field Documentation

◆ id_array_

template<class DEC>
bm::gap_word_t* bm::deseriaizer_base< DEC >::id_array_
protected

ptr to idx array for temp decode use

Definition at line 371 of file bmserial.h.

Referenced by bm::serial_stream_iterator< DEC >::serial_stream_iterator().


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