BitMagic-C++
Static Public Member Functions | Static Public Attributes
bm::operation_functions< T > Struct Template Reference

#include <bmfunc.h>

Static Public Member Functions

static gap_operation_to_bitset_func_type gap_op_to_bit (unsigned i)
 
static gap_operation_func_type gap_operation (unsigned i)
 
static bit_operation_count_func_type bit_operation_count (unsigned i)
 

Static Public Attributes

static gap_operation_to_bitset_func_type gap2bit_table_ [bm::set_END]
 
static gap_operation_func_type gapop_table_ [bm::set_END]
 
static bit_operation_count_func_type bit_op_count_table_ [bm::set_END]
 

Detailed Description

template<bool T>
struct bm::operation_functions< T >

Definition at line 7412 of file bmfunc.h.

Member Function Documentation

◆ bit_operation_count()

template<bool T>
static bit_operation_count_func_type bm::operation_functions< T >::bit_operation_count ( unsigned  i)
inlinestatic

◆ gap_op_to_bit()

template<bool T>
static gap_operation_to_bitset_func_type bm::operation_functions< T >::gap_op_to_bit ( unsigned  i)
inlinestatic

Definition at line 7422 of file bmfunc.h.

References bm::operation_functions< T >::gap2bit_table_.

◆ gap_operation()

template<bool T>
static gap_operation_func_type bm::operation_functions< T >::gap_operation ( unsigned  i)
inlinestatic

Definition at line 7428 of file bmfunc.h.

References bm::operation_functions< T >::gapop_table_.

Field Documentation

◆ bit_op_count_table_

template<bool T>
bit_operation_count_func_type bm::operation_functions< T >::bit_op_count_table_
static

◆ gap2bit_table_

template<bool T>
gap_operation_to_bitset_func_type bm::operation_functions< T >::gap2bit_table_
static
Initial value:
= {
&gap_and_to_bitset<bm::gap_word_t>,
&gap_add_to_bitset<bm::gap_word_t>,
&gap_sub_to_bitset<bm::gap_word_t>,
&gap_xor_to_bitset<bm::gap_word_t>,
0
}

Definition at line 7415 of file bmfunc.h.

Referenced by bm::operation_functions< T >::gap_op_to_bit().

◆ gapop_table_

template<bool T>
gap_operation_func_type bm::operation_functions< T >::gapop_table_
static

The documentation for this struct was generated from the following file:
bm::gap_operation_and
BMFORCEINLINE gap_word_t * gap_operation_and(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize)
GAP AND operation.
Definition: bmfunc.h:4827
bm::gap_operation_sub
gap_word_t * gap_operation_sub(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize)
GAP SUB (AND NOT) operation.
Definition: bmfunc.h:5004
bm::bit_operation_xor_count
bm::id_t bit_operation_xor_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2)
Performs bitblock XOR operation and calculates bitcount of the result.
Definition: bmfunc.h:6513
bm::bit_operation_and_count
bm::id_t bit_operation_and_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2)
Performs bitblock AND operation and calculates bitcount of the result.
Definition: bmfunc.h:5706
bm::bit_operation_sub_count
bm::id_t bit_operation_sub_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2)
Performs bitblock SUB operation and calculates bitcount of the result.
Definition: bmfunc.h:5755
bm::bit_operation_or_count
bm::id_t bit_operation_or_count(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2)
Performs bitblock OR operation and calculates bitcount of the result.
Definition: bmfunc.h:5845
bm::gap_operation_xor
BMFORCEINLINE gap_word_t * gap_operation_xor(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize)
GAP XOR operation.
Definition: bmfunc.h:4893
bm::gap_operation_or
gap_word_t * gap_operation_or(const gap_word_t *BMRESTRICT vect1, const gap_word_t *BMRESTRICT vect2, gap_word_t *BMRESTRICT tmp_buf, unsigned &dsize)
GAP OR operation.
Definition: bmfunc.h:4959
bm::bit_operation_sub_count_inv
bm::id_t bit_operation_sub_count_inv(const bm::word_t *BMRESTRICT src1, const bm::word_t *BMRESTRICT src2)
Performs inverted bitblock SUB operation and calculates bitcount of the result.
Definition: bmfunc.h:5792