dlvhex
2.5.0
|
Bit-block sum adapter, takes values and sums it /internal. More...
#include <vs10/bm/bmfunc.h>
Public Member Functions | |
bitblock_sum_adapter () | |
BMFORCEINLINE void | push_back (bm::word_t w) |
bm::word_t | sum () const |
Get accumulated sum. | |
bitblock_sum_adapter () | |
BMFORCEINLINE void | push_back (bm::word_t w) |
bm::word_t | sum () const |
Get accumulated sum. | |
Private Attributes | |
bm::word_t | sum_ |
Bit-block sum adapter, takes values and sums it /internal.
bm::bitblock_sum_adapter::bitblock_sum_adapter | ( | ) | [inline] |
bm::bitblock_sum_adapter::bitblock_sum_adapter | ( | ) | [inline] |
BMFORCEINLINE void bm::bitblock_sum_adapter::push_back | ( | bm::word_t | w | ) | [inline] |
BMFORCEINLINE void bm::bitblock_sum_adapter::push_back | ( | bm::word_t | w | ) | [inline] |
bm::word_t bm::bitblock_sum_adapter::sum | ( | ) | const [inline] |
bm::word_t bm::bitblock_sum_adapter::sum | ( | ) | const [inline] |
Get accumulated sum.
Definition at line 5021 of file bmfunc.h.
References sum_.
Referenced by bm::serial_stream_iterator< DEC >::get_bit_block_COUNT_OR(), bm::serial_stream_iterator< DEC >::get_bit_block_COUNT_SUB_AB(), bm::serial_stream_iterator< DEC >::get_bit_block_COUNT_SUB_BA(), and bm::serial_stream_iterator< DEC >::get_bit_block_COUNT_XOR().
bm::word_t bm::bitblock_sum_adapter::sum_ [private] |
Definition at line 5023 of file bmfunc.h.
Referenced by push_back(), and sum().