dlvhex
2.5.0
|
Iterator to walk forward the serialized stream. More...
#include <vs10/bm/bmserial.h>
Public Types | |
typedef BV | bvector_type |
typedef SerialIterator | serial_iterator_type |
typedef BV | bvector_type |
typedef SerialIterator | serial_iterator_type |
Static Public Member Functions | |
static unsigned | deserialize (bvector_type &bv, serial_iterator_type &sit, bm::word_t *temp_block, set_operation op=bm::set_OR) |
static void | deserialize (bvector_type &bv_target, const bvector_type &bv_mask, serial_iterator_type &sit, bm::word_t *temp_block, set_operation op) |
experimental 3 way deserialization target = mask OPERATION% BLOB | |
static unsigned | deserialize (bvector_type &bv, serial_iterator_type &sit, bm::word_t *temp_block, set_operation op=bm::set_OR) |
static void | deserialize (bvector_type &bv_target, const bvector_type &bv_mask, serial_iterator_type &sit, bm::word_t *temp_block, set_operation op) |
experimental 3 way deserialization target = mask OPERATION% BLOB | |
Private Types | |
typedef BV::blocks_manager_type | blocks_manager_type |
typedef BV::blocks_manager_type | blocks_manager_type |
Static Private Member Functions | |
static void | load_id_list (bvector_type &bv, serial_iterator_type &sit, unsigned id_count, bool set_clear) |
load data from the iterator of type "id list" | |
static unsigned | finalize_target_vector (blocks_manager_type &bman, set_operation op, unsigned bv_block_idx) |
Finalize the deserialization (zero target vector tail or bit-count tail) | |
static unsigned | process_id_list (bvector_type &bv, serial_iterator_type &sit, set_operation op) |
Process (obsolete) id-list serialization format. | |
static void | load_id_list (bvector_type &bv, serial_iterator_type &sit, unsigned id_count, bool set_clear) |
load data from the iterator of type "id list" | |
static unsigned | finalize_target_vector (blocks_manager_type &bman, set_operation op, unsigned bv_block_idx) |
Finalize the deserialization (zero target vector tail or bit-count tail) | |
static unsigned | process_id_list (bvector_type &bv, serial_iterator_type &sit, set_operation op) |
Process (obsolete) id-list serialization format. |
Iterator to walk forward the serialized stream.
Definition at line 317 of file bmserial.h.
typedef BV::blocks_manager_type bm::iterator_deserializer< BV, SerialIterator >::blocks_manager_type [private] |
Definition at line 340 of file bmserial.h.
typedef BV::blocks_manager_type bm::iterator_deserializer< BV, SerialIterator >::blocks_manager_type [private] |
Definition at line 340 of file bmserial.h.
typedef BV bm::iterator_deserializer< BV, SerialIterator >::bvector_type |
Definition at line 320 of file bmserial.h.
typedef BV bm::iterator_deserializer< BV, SerialIterator >::bvector_type |
Definition at line 320 of file bmserial.h.
typedef SerialIterator bm::iterator_deserializer< BV, SerialIterator >::serial_iterator_type |
Definition at line 321 of file bmserial.h.
typedef SerialIterator bm::iterator_deserializer< BV, SerialIterator >::serial_iterator_type |
Definition at line 321 of file bmserial.h.
unsigned bm::iterator_deserializer< BV, SerialIterator >::deserialize | ( | bvector_type & | bv, |
serial_iterator_type & | sit, | ||
bm::word_t * | temp_block, | ||
set_operation | op = bm::set_OR |
||
) | [static] |
Definition at line 3319 of file bmserial.h.
References bm::bit_block_xor(), bm::bits_in_block, BM_IS_GAP, BMSET_PTRGAP, bm::combine_count_operation_with_block(), bm::COUNT_SUB_BA, bm::COUNT_XOR, FULL_BLOCK_ADDR, bm::gap_calc_level(), bm::gap_convert_to_bitset(), bm::gap_equiv_len, bm::gap_length(), bm::is_const_set_operation(), IS_FULL_BLOCK, bm::operation2metric(), bm::set_AND, bm::set_ASSIGN, bm::set_COUNT, bm::set_COUNT_A, bm::set_COUNT_AND, bm::set_COUNT_B, bm::set_COUNT_OR, bm::set_COUNT_SUB_AB, bm::set_COUNT_SUB_BA, bm::set_COUNT_XOR, bm::set_END, bm::set_gap_level(), bm::set_OR, bm::set_SUB, bm::set_XOR, and bm::setop2op().
Referenced by bm::operation_deserializer< BV >::deserialize().
static unsigned bm::iterator_deserializer< BV, SerialIterator >::deserialize | ( | bvector_type & | bv, |
serial_iterator_type & | sit, | ||
bm::word_t * | temp_block, | ||
set_operation | op = bm::set_OR |
||
) | [static] |
void bm::iterator_deserializer< BV, SerialIterator >::deserialize | ( | bvector_type & | bv_target, |
const bvector_type & | bv_mask, | ||
serial_iterator_type & | sit, | ||
bm::word_t * | temp_block, | ||
set_operation | op | ||
) | [static] |
experimental 3 way deserialization target = mask OPERATION% BLOB
Definition at line 3101 of file bmserial.h.
References bm::bit_block_xor(), BM_IS_GAP, FULL_BLOCK_ADDR, bm::gap_calc_level(), bm::gap_equiv_len, bm::gap_length(), bm::set_AND, bm::set_array_shift, bm::set_ASSIGN, bm::set_block_bit_1bit, bm::set_block_shift, bm::set_OR, bm::set_SUB, bm::set_XOR, and bm::setop2op().
static void bm::iterator_deserializer< BV, SerialIterator >::deserialize | ( | bvector_type & | bv_target, |
const bvector_type & | bv_mask, | ||
serial_iterator_type & | sit, | ||
bm::word_t * | temp_block, | ||
set_operation | op | ||
) | [static] |
experimental 3 way deserialization target = mask OPERATION% BLOB
static unsigned bm::iterator_deserializer< BV, SerialIterator >::finalize_target_vector | ( | blocks_manager_type & | bman, |
set_operation | op, | ||
unsigned | bv_block_idx | ||
) | [static, private] |
Finalize the deserialization (zero target vector tail or bit-count tail)
unsigned bm::iterator_deserializer< BV, SerialIterator >::finalize_target_vector | ( | blocks_manager_type & | bman, |
set_operation | op, | ||
unsigned | bv_block_idx | ||
) | [static, private] |
Finalize the deserialization (zero target vector tail or bit-count tail)
Definition at line 2939 of file bmserial.h.
References bm::set_AND, bm::set_array_size, bm::set_ASSIGN, bm::set_COUNT, bm::set_COUNT_A, bm::set_COUNT_AND, bm::set_COUNT_B, bm::set_COUNT_OR, bm::set_COUNT_SUB_AB, bm::set_COUNT_SUB_BA, bm::set_COUNT_XOR, bm::set_OR, bm::set_SUB, and bm::set_XOR.
void bm::iterator_deserializer< BV, SerialIterator >::load_id_list | ( | bvector_type & | bv, |
serial_iterator_type & | sit, | ||
unsigned | id_count, | ||
bool | set_clear | ||
) | [static, private] |
load data from the iterator of type "id list"
Definition at line 2900 of file bmserial.h.
References bm::combine_or(), and bm::combine_sub().
static void bm::iterator_deserializer< BV, SerialIterator >::load_id_list | ( | bvector_type & | bv, |
serial_iterator_type & | sit, | ||
unsigned | id_count, | ||
bool | set_clear | ||
) | [static, private] |
load data from the iterator of type "id list"
static unsigned bm::iterator_deserializer< BV, SerialIterator >::process_id_list | ( | bvector_type & | bv, |
serial_iterator_type & | sit, | ||
set_operation | op | ||
) | [static, private] |
Process (obsolete) id-list serialization format.
unsigned bm::iterator_deserializer< BV, SerialIterator >::process_id_list | ( | bvector_type & | bv, |
serial_iterator_type & | sit, | ||
set_operation | op | ||
) | [static, private] |
Process (obsolete) id-list serialization format.
Definition at line 3015 of file bmserial.h.
References bm::BM_GAP, bm::count_or(), bm::count_xor(), bm::set_AND, bm::set_ASSIGN, bm::set_COUNT, bm::set_COUNT_A, bm::set_COUNT_AND, bm::set_COUNT_B, bm::set_COUNT_OR, bm::set_COUNT_SUB_AB, bm::set_COUNT_XOR, bm::set_OR, bm::set_SUB, and bm::set_XOR.