dlvhex  2.5.0
bm::bitblock_sum_adapter Class Reference

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_

Detailed Description

Bit-block sum adapter, takes values and sums it /internal.

Definition at line 5014 of file bmfunc.h.


Constructor & Destructor Documentation

Definition at line 5017 of file bmfunc.h.

Definition at line 5017 of file bmfunc.h.


Member Function Documentation

Definition at line 5019 of file bmfunc.h.

References sum_.

Definition at line 5019 of file bmfunc.h.

References sum_.

Get accumulated sum.

Definition at line 5021 of file bmfunc.h.

References sum_.


Field Documentation

Definition at line 5023 of file bmfunc.h.

Referenced by push_back(), and sum().


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