PolyBoRi
|
This class defines a VariableBlock. More...
#include <VariableBlock.h>
Public Types | |
typedef VariableFactory | base |
We inherit from the following type. | |
typedef base::value_type | var_type |
typedef var_type::ring_type | ring_type |
typedef var_type::idx_type | idx_type |
Public Member Functions | |
VariableBlock (idx_type size, idx_type start_index, idx_type offset, bool reverse, const ring_type &ring) | |
Construct block. | |
VariableBlock (const self &rhs) | |
Copy constructor. | |
~VariableBlock () | |
Destructor. | |
var_type | operator() (idx_type i) |
We may easily. | |
Protected Attributes | |
const idx_type | m_start_index |
const idx_type | m_last |
const idx_type | m_offset |
const bool | m_reverse |
This class defines a VariableBlock.
We break down the two-argumented class BooleVariables(idx, ring)
to a one argumented call over a functional object var(idx)
which knows about the ring ("currying").
We inherit from the following type.
Reimplemented from polybori::VariableFactory.
polybori::VariableBlock::VariableBlock | ( | idx_type | size, |
idx_type | start_index, | ||
idx_type | offset, | ||
bool | reverse, | ||
const ring_type & | ring | ||
) | [inline] |
Construct block.
polybori::VariableBlock::VariableBlock | ( | const self & | rhs | ) | [inline] |
Copy constructor.
polybori::VariableBlock::~VariableBlock | ( | ) | [inline] |
Destructor.
We may easily.
References PBORI_UNLIKELY.
const idx_type polybori::VariableBlock::m_last [protected] |
const idx_type polybori::VariableBlock::m_offset [protected] |
const bool polybori::VariableBlock::m_reverse [protected] |
const idx_type polybori::VariableBlock::m_start_index [protected] |