#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 |
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").
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.
const idx_type polybori::VariableBlock::m_start_index [protected] |
const idx_type polybori::VariableBlock::m_last [protected] |
const idx_type polybori::VariableBlock::m_offset [protected] |
const bool polybori::VariableBlock::m_reverse [protected] |