BitMagic-C++
Public Member Functions
bm::copy_to_array_functor< B > Class Template Reference

Adaptor to copy 1 bits to array. More...

#include <bmfunc.h>

Public Member Functions

 copy_to_array_functor (B *bits)
 
B * ptr ()
 
void operator() (unsigned bit_idx)
 
void operator() (unsigned bit_idx0, unsigned bit_idx1)
 
void operator() (unsigned bit_idx0, unsigned bit_idx1, unsigned bit_idx2)
 
void operator() (unsigned bit_idx0, unsigned bit_idx1, unsigned bit_idx2, unsigned bit_idx3)
 

Detailed Description

template<typename B>
class bm::copy_to_array_functor< B >

Adaptor to copy 1 bits to array.

Definition at line 375 of file bmfunc.h.

Constructor & Destructor Documentation

◆ copy_to_array_functor()

template<typename B>
bm::copy_to_array_functor< B >::copy_to_array_functor ( B *  bits)
inline

Definition at line 378 of file bmfunc.h.

Member Function Documentation

◆ operator()() [1/4]

template<typename B>
void bm::copy_to_array_functor< B >::operator() ( unsigned  bit_idx)
inline

Definition at line 383 of file bmfunc.h.

◆ operator()() [2/4]

template<typename B>
void bm::copy_to_array_functor< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1 
)
inline

Definition at line 385 of file bmfunc.h.

◆ operator()() [3/4]

template<typename B>
void bm::copy_to_array_functor< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1,
unsigned  bit_idx2 
)
inline

Definition at line 392 of file bmfunc.h.

◆ operator()() [4/4]

template<typename B>
void bm::copy_to_array_functor< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1,
unsigned  bit_idx2,
unsigned  bit_idx3 
)
inline

Definition at line 400 of file bmfunc.h.

◆ ptr()

template<typename B>
B* bm::copy_to_array_functor< B >::ptr ( )
inline

Definition at line 381 of file bmfunc.h.

Referenced by bm::bit_list(), and bm::bit_list_4().


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