dlvhex  2.5.0
bm::deseriaizer_base< DEC > Class Template Reference

Base deserialization class. More...

#include <vs10/bm/bmserial.h>

Inheritance diagram for bm::deseriaizer_base< DEC >:

Public Types

typedef DEC decoder_type
typedef DEC decoder_type

Protected Member Functions

 deseriaizer_base ()
unsigned 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.
unsigned read_id_list (decoder_type &decoder, unsigned block_type, bm::gap_word_t *dst_arr)
 Read list of bit ids.
 deseriaizer_base ()
unsigned 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.
unsigned read_id_list (decoder_type &decoder, unsigned block_type, bm::gap_word_t *dst_arr)
 Read list of bit ids.

Protected Attributes

bm::gap_word_t id_array_ [bm::gap_equiv_len *2]

Detailed Description

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

Base deserialization class.

Definition at line 251 of file bmserial.h.


Member Typedef Documentation


Constructor & Destructor Documentation

template<class DEC>
bm::deseriaizer_base< DEC >::deseriaizer_base ( ) [inline, protected]

Definition at line 256 of file bmserial.h.

template<class DEC>
bm::deseriaizer_base< DEC >::deseriaizer_base ( ) [inline, protected]

Definition at line 256 of file bmserial.h.


Member Function Documentation

template<class DEC >
unsigned 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]
template<class DEC>
unsigned 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.

Returns:
GAP length
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
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 1184 of file bmserial.h.

References bm::set_block_arrgap, bm::set_block_arrgap_egamma, bm::set_block_arrgap_egamma_inv, bm::set_block_arrgap_inv, and bm::set_block_bit_1bit.


Field Documentation

template<class DEC>
bm::gap_word_t bm::deseriaizer_base< DEC >::id_array_ [protected]

Definition at line 275 of file bmserial.h.


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