dlvhex  2.5.0
bm::copy_to_array_functor_inc< B > Class Template Reference

Adaptor to copy 1 bits to array with base increment. More...

#include <vs10/bm/bmfunc.h>

Public Member Functions

 copy_to_array_functor_inc (B *bits, unsigned base_idx)
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)
 copy_to_array_functor_inc (B *bits, unsigned base_idx)
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)

Private Member Functions

 copy_to_array_functor_inc (const copy_to_array_functor_inc &)
copy_to_array_functor_incoperator= (const copy_to_array_functor_inc &)
 copy_to_array_functor_inc (const copy_to_array_functor_inc &)
copy_to_array_functor_incoperator= (const copy_to_array_functor_inc &)

Private Attributes

B * bp_
unsigned base_idx_
 Base increment factor.

Detailed Description

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

Adaptor to copy 1 bits to array with base increment.

Definition at line 4638 of file bmfunc.h.


Constructor & Destructor Documentation

template<typename B>
bm::copy_to_array_functor_inc< B >::copy_to_array_functor_inc ( B *  bits,
unsigned  base_idx 
) [inline]

Definition at line 4641 of file bmfunc.h.

template<typename B>
bm::copy_to_array_functor_inc< B >::copy_to_array_functor_inc ( const copy_to_array_functor_inc< B > &  ) [private]
template<typename B>
bm::copy_to_array_functor_inc< B >::copy_to_array_functor_inc ( B *  bits,
unsigned  base_idx 
) [inline]

Definition at line 4641 of file bmfunc.h.

template<typename B>
bm::copy_to_array_functor_inc< B >::copy_to_array_functor_inc ( const copy_to_array_functor_inc< B > &  ) [private]

Member Function Documentation

template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1 
) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1 
) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1,
unsigned  bit_idx2 
) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1,
unsigned  bit_idx2 
) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1,
unsigned  bit_idx2,
unsigned  bit_idx3 
) [inline]
template<typename B>
void bm::copy_to_array_functor_inc< B >::operator() ( unsigned  bit_idx0,
unsigned  bit_idx1,
unsigned  bit_idx2,
unsigned  bit_idx3 
) [inline]
template<typename B>
copy_to_array_functor_inc& bm::copy_to_array_functor_inc< B >::operator= ( const copy_to_array_functor_inc< B > &  ) [private]
template<typename B>
copy_to_array_functor_inc& bm::copy_to_array_functor_inc< B >::operator= ( const copy_to_array_functor_inc< B > &  ) [private]
template<typename B>
B* bm::copy_to_array_functor_inc< B >::ptr ( ) [inline]

Definition at line 4645 of file bmfunc.h.

References bm::copy_to_array_functor_inc< B >::bp_.

Referenced by bm::bit_convert_to_arr().

template<typename B>
B* bm::copy_to_array_functor_inc< B >::ptr ( ) [inline]

Definition at line 4645 of file bmfunc.h.

References bm::copy_to_array_functor_inc< B >::bp_.


Field Documentation

template<typename B>
unsigned bm::copy_to_array_functor_inc< B >::base_idx_ [private]

Base increment factor.

Definition at line 4684 of file bmfunc.h.

Referenced by bm::copy_to_array_functor_inc< B >::operator()().

template<typename B>
B * bm::copy_to_array_functor_inc< B >::bp_ [private]

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