BitMagicC++Library
Public Member Functions | Data Fields
bm::bvector< Alloc >::blocks_count Struct Reference

structure for bit counts per block (prefix sum) Structure is used to accelerate bit range scans More...

#include <bm.h>

Public Member Functions

 blocks_count ()
 
 blocks_count (const blocks_count &bc)
 
void copy_from (const blocks_count &bc)
 

Data Fields

unsigned BM_VECT_ALIGN cnt [bm::set_total_blocksBM_VECT_ALIGN_ATTR
 

Detailed Description

template<class Alloc>
struct bm::bvector< Alloc >::blocks_count

structure for bit counts per block (prefix sum) Structure is used to accelerate bit range scans

Examples:
sample11.cpp.

Definition at line 940 of file bm.h.

Constructor & Destructor Documentation

◆ blocks_count() [1/2]

template<class Alloc>
bm::bvector< Alloc >::blocks_count::blocks_count ( )
inline

Definition at line 944 of file bm.h.

◆ blocks_count() [2/2]

template<class Alloc>
bm::bvector< Alloc >::blocks_count::blocks_count ( const blocks_count bc)
inline

Definition at line 945 of file bm.h.

Member Function Documentation

◆ copy_from()

template<class Alloc>
void bm::bvector< Alloc >::blocks_count::copy_from ( const blocks_count bc)
inline

Definition at line 949 of file bm.h.

References bm::BM_BIT, bm::bvector< Alloc >::bvector(), and bm::id_max.

Field Documentation

◆ BM_VECT_ALIGN_ATTR

template<class Alloc>
unsigned BM_VECT_ALIGN cnt [bm::set_total_blocks] bm::bvector< Alloc >::blocks_count::BM_VECT_ALIGN_ATTR

Definition at line 942 of file bm.h.


The documentation for this struct was generated from the following file: