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

Bitcounting functor filling the block counts array. More...

#include <vs10/bm/bmblocks.h>

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

Public Member Functions

 block_count_arr_func (const blocks_manager &bm, unsigned *arr)
void operator() (const bm::word_t *block, unsigned idx)
unsigned last_block () const
 block_count_arr_func (const blocks_manager &bm, unsigned *arr)
void operator() (const bm::word_t *block, unsigned idx)
unsigned last_block () const

Private Attributes

unsigned * arr_
unsigned last_idx_

Detailed Description

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

Bitcounting functor filling the block counts array.

Definition at line 123 of file bmblocks.h.


Constructor & Destructor Documentation

template<class Alloc >
bm::blocks_manager< Alloc >::block_count_arr_func::block_count_arr_func ( const blocks_manager bm,
unsigned *  arr 
) [inline]
template<class Alloc >
bm::blocks_manager< Alloc >::block_count_arr_func::block_count_arr_func ( const blocks_manager bm,
unsigned *  arr 
) [inline]

Member Function Documentation

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

Field Documentation


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