NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
bm::blocks_manager< Alloc >::block_count_arr_func Class Reference

Search Toolkit Book for bm::blocks_manager::block_count_arr_func

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

#include <util/bitset/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 Types

typedef id_type size_type
 
- Public Types inherited from bm::blocks_manager< Alloc >::bm_func_base_const
typedef id_type size_type
 

Public Member Functions

 block_count_arr_func (const blocks_manager &bm, unsigned *arr) BMNOEXCEPT
 
void operator() (const bm::word_t *block, id_type idx) BMNOEXCEPT
 
id_type last_block () const BMNOEXCEPT
 
void on_non_empty_top (unsigned) BMNOEXCEPT
 
- Public Member Functions inherited from bm::blocks_manager< Alloc >::bm_func_base_const
 bm_func_base_const (const blocks_manager &bman) BMNOEXCEPT
 
void on_empty_top (unsigned) BMNOEXCEPT
 
void on_empty_block (block_idx_type) BMNOEXCEPT
 

Private Attributes

unsigned * arr_
 
id_type last_idx_
 

Additional Inherited Members

- Protected Member Functions inherited from bm::blocks_manager< Alloc >::block_count_base
 block_count_base (const blocks_manager &bm) BMNOEXCEPT
 
bm::id_t block_count (const bm::word_t *block) const BMNOEXCEPT
 
- Protected Attributes inherited from bm::blocks_manager< Alloc >::bm_func_base_const
const blocks_managerbm_
 

Detailed Description

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

Bitcounting functor filling the block counts array.

Definition at line 149 of file bmblocks.h.

Member Typedef Documentation

◆ size_type

Definition at line 152 of file bmblocks.h.

Constructor & Destructor Documentation

◆ block_count_arr_func()

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

◆ last_block()

template<class Alloc >
id_type bm::blocks_manager< Alloc >::block_count_arr_func::last_block ( ) const
inline

◆ on_non_empty_top()

template<class Alloc >
void bm::blocks_manager< Alloc >::block_count_arr_func::on_non_empty_top ( unsigned  )
inline

Definition at line 169 of file bmblocks.h.

◆ operator()()

template<class Alloc >
void bm::blocks_manager< Alloc >::block_count_arr_func::operator() ( const bm::word_t block,
id_type  idx 
)
inline

Member Data Documentation

◆ arr_

template<class Alloc >
unsigned* bm::blocks_manager< Alloc >::block_count_arr_func::arr_
private

◆ last_idx_

template<class Alloc >
id_type bm::blocks_manager< Alloc >::block_count_arr_func::last_idx_
private

The documentation for this class was generated from the following file:
Modified on Mon May 06 04:48:23 2024 by modify_doxy.py rev. 669887