#include <CVariableIter.h>
Public Types | |
typedef Iterator | iterator_type |
Fixing Iterator type to be extended. | |
typedef VariableType | var_type |
Fixing variables, which is used for dereferencing. | |
typedef var_type::ring_type | ring_type |
Fixing ring, which is used to generate variables. | |
typedef CVariableIter < iterator_type, var_type > | self |
Get type of *this. | |
Public Member Functions | |
CVariableIter () | |
Default constructor. | |
CVariableIter (const iterator_type &rhs, const ring_type &ring) | |
Constructor for given iterator (and ring). | |
bool | isEnd () const |
Check, whether end of iteration is reached. | |
void | increment () |
Increment operation. | |
var_type | dereference () const |
Constant dereference operator. | |
bool | equal (const self &rhs) const |
Equality check. |
It uses a given iterator, and converts indices to Boolean variables (via a given ring).
typedef Iterator polybori::CVariableIter< Iterator, VariableType >::iterator_type |
Fixing Iterator type to be extended.
typedef VariableType polybori::CVariableIter< Iterator, VariableType >::var_type |
Fixing variables, which is used for dereferencing.
typedef var_type::ring_type polybori::CVariableIter< Iterator, VariableType >::ring_type |
Fixing ring, which is used to generate variables.
typedef CVariableIter<iterator_type, var_type> polybori::CVariableIter< Iterator, VariableType >::self |
Get type of *this.
polybori::CVariableIter< Iterator, VariableType >::CVariableIter | ( | ) | [inline] |
Default constructor.
polybori::CVariableIter< Iterator, VariableType >::CVariableIter | ( | const iterator_type & | rhs, | |
const ring_type & | ring | |||
) | [inline] |
Constructor for given iterator (and ring).
bool polybori::CVariableIter< Iterator, VariableType >::isEnd | ( | ) | const [inline] |
Check, whether end of iteration is reached.
void polybori::CVariableIter< Iterator, VariableType >::increment | ( | ) | [inline] |
Increment operation.
var_type polybori::CVariableIter< Iterator, VariableType >::dereference | ( | ) | const [inline] |
Constant dereference operator.
bool polybori::CVariableIter< Iterator, VariableType >::equal | ( | const self & | rhs | ) | const [inline] |
Equality check.