BitMagic-C++
|
Base deserialization class. More...
#include <bmserial.h>
Protected Types | |
typedef DEC | decoder_type |
typedef BLOCK_IDX | block_idx_type |
typedef bm::bit_in< DEC > | bit_in_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) BMNOEXCEPT |
Read binary interpolated list into a bit-set. More... | |
void | read_bic_gap (decoder_type &decoder, bm::word_t *blk) BMNOEXCEPT |
Read binary interpolated gap blocks into a bitset. More... | |
void | read_bic_arr_inv (decoder_type &decoder, bm::word_t *blk) BMNOEXCEPT |
Read inverted binary interpolated list into a bit-set. More... | |
void | read_digest0_block (decoder_type &decoder, bm::word_t *blk) BMNOEXCEPT |
Read digest0-type bit-block. More... | |
block_idx_type | try_skip (decoder_type &decoder, block_idx_type nb, block_idx_type expect_nb) BMNOEXCEPT |
Try to skip if skip bookmark is available within reach. More... | |
Static Protected Member Functions | |
static void | read_0runs_block (decoder_type &decoder, bm::word_t *blk) BMNOEXCEPT |
read bit-block encoded as runs More... | |
static const char * | err_msg () BMNOEXCEPT |
Protected Attributes | |
bm::gap_word_t * | id_array_ |
ptr to idx array for temp decode use More... | |
block_idx_type | bookmark_idx_ |
last bookmark block index More... | |
unsigned | skip_offset_ |
bookmark to skip 256 encoded blocks More... | |
const unsigned char * | skip_pos_ |
decoder skip position More... | |
Base deserialization class.
Definition at line 424 of file bmserial.h.
|
protected |
Definition at line 429 of file bmserial.h.
|
protected |
Definition at line 428 of file bmserial.h.
|
protected |
Definition at line 427 of file bmserial.h.
|
inlineprotected |
Definition at line 432 of file bmserial.h.
|
inlinestaticprotected |
Definition at line 467 of file bmserial.h.
|
staticprotected |
read bit-block encoded as runs
Definition at line 2985 of file bmserial.h.
|
protected |
Read binary interpolated list into a bit-set.
Definition at line 2888 of file bmserial.h.
|
protected |
Read inverted binary interpolated list into a bit-set.
Definition at line 2911 of file bmserial.h.
|
protected |
Read binary interpolated gap blocks into a bitset.
Definition at line 2921 of file bmserial.h.
|
protected |
Read digest0-type bit-block.
Definition at line 2945 of file bmserial.h.
|
protected |
Read GAP block from the stream.
Definition at line 3016 of file bmserial.h.
|
protected |
|
protected |
Try to skip if skip bookmark is available within reach.
Definition at line 3143 of file bmserial.h.
Referenced by bm::serial_stream_iterator< DEC, BLOCK_IDX >::try_skip().
|
protected |
last bookmark block index
Definition at line 479 of file bmserial.h.
|
protected |
ptr to idx array for temp decode use
Definition at line 477 of file bmserial.h.
Referenced by bm::serial_stream_iterator< DEC, BLOCK_IDX >::serial_stream_iterator().
|
protected |
bookmark to skip 256 encoded blocks
Definition at line 480 of file bmserial.h.
|
protected |
decoder skip position
Definition at line 481 of file bmserial.h.