BitMagic-C++
|
Algorithms for bvector<> (main include) More...
Go to the source code of this file.
Data Structures | |
struct | bm::bit_vitor_callback_adaptor< VCBT, size_type > |
private adaptor for C-style callbacks More... | |
struct | bm::bit_vistor_copy_functor< BV > |
Functor for bit-copy (for testing) More... | |
class | bm::rank_compressor< BV > |
Algorithms for rank compression of bit-vector. More... | |
Namespaces | |
namespace | bm |
Macros | |
#define | BM_SCANNER_OP(x) |
Functions | |
template<class BV > | |
BV::size_type | bm::count_and (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes bitcount of AND operation of two bitsets. | |
template<class BV > | |
BV::size_type | bm::any_and (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes if there is any bit in AND operation of two bitsets. | |
template<class BV > | |
bm::distance_metric_descriptor::size_type | bm::count_xor (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes bitcount of XOR operation of two bitsets. | |
template<class BV > | |
BV::size_type | bm::any_xor (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes if there is any bit in XOR operation of two bitsets. | |
template<class BV > | |
BV::size_type | bm::count_sub (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes bitcount of SUB operation of two bitsets. | |
template<class BV > | |
BV::size_type | bm::any_sub (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes if there is any bit in SUB operation of two bitsets. | |
template<class BV > | |
BV::size_type | bm::count_or (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes bitcount of OR operation of two bitsets. | |
template<class BV > | |
BV::size_type | bm::any_or (const BV &bv1, const BV &bv2) BMNOEXCEPT |
Computes if there is any bit in OR operation of two bitsets. | |
template<class BV , class Func > | |
void | bm::for_each_bit (const BV &bv, Func &bit_functor) |
bit-vector visitor scanner to traverse each 1 bit using C++ visitor | |
template<class BV , class Func > | |
void | bm::for_each_bit_range (const BV &bv, typename BV::size_type left, typename BV::size_type right, Func &bit_functor) |
bit-vector range visitor to traverse each 1 bit | |
template<class BV > | |
void | bm::visit_each_bit (const BV &bv, void *handle_ptr, bit_visitor_callback_type callback_ptr) |
bvector visitor scanner to traverse each 1 bit using C callback | |
template<class BV > | |
void | bm::visit_each_bit_range (const BV &bv, typename BV::size_type left, typename BV::size_type right, void *handle_ptr, bit_visitor_callback_type callback_ptr) |
bvector visitor scanner to traverse each bits in range (C callback) | |
Algorithms for bvector<> (main include)
Definition in file bmalgo.h.
#define BM_SCANNER_OP | ( | x | ) |
Definition at line 175 of file bmalgo.h.
Referenced by bm::for_each_bit().