dlvhex  2.5.0
bm::iterator_deserializer< BV, SerialIterator > Class Template Reference

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.

Detailed Description

template<class BV, class SerialIterator>
class bm::iterator_deserializer< BV, SerialIterator >

Iterator to walk forward the serialized stream.

Definition at line 317 of file bmserial.h.


Member Typedef Documentation

template<class BV , class SerialIterator >
typedef BV::blocks_manager_type bm::iterator_deserializer< BV, SerialIterator >::blocks_manager_type [private]

Definition at line 340 of file bmserial.h.

template<class BV , class SerialIterator >
typedef BV::blocks_manager_type bm::iterator_deserializer< BV, SerialIterator >::blocks_manager_type [private]

Definition at line 340 of file bmserial.h.

template<class BV , class SerialIterator >
typedef BV bm::iterator_deserializer< BV, SerialIterator >::bvector_type

Definition at line 320 of file bmserial.h.

template<class BV , class SerialIterator >
typedef BV bm::iterator_deserializer< BV, SerialIterator >::bvector_type

Definition at line 320 of file bmserial.h.

template<class BV , class SerialIterator >
typedef SerialIterator bm::iterator_deserializer< BV, SerialIterator >::serial_iterator_type

Definition at line 321 of file bmserial.h.

template<class BV , class SerialIterator >
typedef SerialIterator bm::iterator_deserializer< BV, SerialIterator >::serial_iterator_type

Definition at line 321 of file bmserial.h.


Member Function Documentation

template<class BV , class SerialIterator >
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]
template<class BV , class SerialIterator >
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]
template<class BV , class SerialIterator >
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

template<class BV , class SerialIterator >
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)

template<class BV , class SerialIterator >
unsigned bm::iterator_deserializer< BV, SerialIterator >::finalize_target_vector ( blocks_manager_type bman,
set_operation  op,
unsigned  bv_block_idx 
) [static, private]
template<class BV , class SerialIterator >
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().

template<class BV , class SerialIterator >
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"

template<class BV , class SerialIterator >
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.

template<class BV , class SerialIterator >
unsigned bm::iterator_deserializer< BV, SerialIterator >::process_id_list ( bvector_type bv,
serial_iterator_type sit,
set_operation  op 
) [static, private]

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