dlvhex  2.5.0
bm::blocks_manager< Alloc >::block_count_change_func Class Reference

bit value change counting functor More...

#include <vs10/bm/bmblocks.h>

Inheritance diagram for bm::blocks_manager< Alloc >::block_count_change_func:
Collaboration diagram for bm::blocks_manager< Alloc >::block_count_change_func:

Public Member Functions

 block_count_change_func (const blocks_manager &bm)
bm::id_t block_count (const bm::word_t *block, unsigned idx)
bm::id_t count () const
void operator() (const bm::word_t *block, unsigned idx)
 block_count_change_func (const blocks_manager &bm)
bm::id_t block_count (const bm::word_t *block, unsigned idx)
bm::id_t count () const
void operator() (const bm::word_t *block, unsigned idx)

Private Attributes

bm::id_t count_
bm::id_t prev_block_border_bit_

Detailed Description

template<class Alloc>
class bm::blocks_manager< Alloc >::block_count_change_func

bit value change counting functor

Definition at line 150 of file bmblocks.h.


Constructor & Destructor Documentation

template<class Alloc >
bm::blocks_manager< Alloc >::block_count_change_func::block_count_change_func ( const blocks_manager bm) [inline]

Definition at line 153 of file bmblocks.h.

template<class Alloc >
bm::blocks_manager< Alloc >::block_count_change_func::block_count_change_func ( const blocks_manager bm) [inline]

Definition at line 153 of file bmblocks.h.


Member Function Documentation

template<class Alloc >
bm::id_t bm::blocks_manager< Alloc >::block_count_change_func::count ( ) const [inline]
template<class Alloc >
void bm::blocks_manager< Alloc >::block_count_change_func::operator() ( const bm::word_t block,
unsigned  idx 
) [inline]
template<class Alloc >
void bm::blocks_manager< Alloc >::block_count_change_func::operator() ( const bm::word_t block,
unsigned  idx 
) [inline]

Field Documentation


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