This template class defines an output iterator which interprets assignments of indices as a change of given data wrt. a given binary operation. More...
#include <PBoRiOutIter.h>
Public Types | |
typedef DataType | data_type |
Data type. | |
typedef RhsType | rhs_type |
Type of right-hand side. | |
typedef BinOp | op_type |
Type of binary operation used to transform data and rhs. | |
typedef PBoRiOutIter < data_type, rhs_type, op_type > | self |
Type of *this. | |
Interface types for standard iterator access | |
typedef std::output_iterator_tag | iterator_category |
typedef void | difference_type |
typedef void | pointer |
typedef void | reference |
typedef void | value_type |
Public Member Functions | |
PBoRiOutIter (data_type &data_, op_type op_=op_type()) | |
Constructor. | |
PBoRiOutIter (const self &rhs) | |
Copy constructor. | |
~PBoRiOutIter () | |
Destructor. | |
self & | operator* () |
self & | operator= (const self &rhs) |
Assignment. | |
self & | operator= (rhs_type rhs) |
Assignment of index calls for change of that index in the monomial. | |
self & | operator++ () |
Prefix increment operator. | |
self | operator++ (int) |
Postfix increment operator. | |
Protected Attributes | |
data_type & | data |
op_type | op |
This template class defines an output iterator which interprets assignments of indices as a change of given data wrt. a given binary operation.
typedef DataType PBoRiOutIter< DataType, RhsType, BinOp >::data_type |
Data type.
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::difference_type |
typedef std::output_iterator_tag PBoRiOutIter< DataType, RhsType, BinOp >::iterator_category |
typedef BinOp PBoRiOutIter< DataType, RhsType, BinOp >::op_type |
Type of binary operation used to transform data and rhs.
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::pointer |
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::reference |
typedef RhsType PBoRiOutIter< DataType, RhsType, BinOp >::rhs_type |
Type of right-hand side.
typedef PBoRiOutIter<data_type, rhs_type, op_type> PBoRiOutIter< DataType, RhsType, BinOp >::self |
Type of *this.
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::value_type |
PBoRiOutIter< DataType, RhsType, BinOp >::PBoRiOutIter | ( | data_type & | data_, | |
op_type | op_ = op_type() | |||
) | [inline] |
Constructor.
PBoRiOutIter< DataType, RhsType, BinOp >::PBoRiOutIter | ( | const self & | rhs | ) | [inline] |
Copy constructor.
PBoRiOutIter< DataType, RhsType, BinOp >::~PBoRiOutIter | ( | ) | [inline] |
Destructor.
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator* | ( | ) | [inline] |
Dereference operator
self PBoRiOutIter< DataType, RhsType, BinOp >::operator++ | ( | int | ) | [inline] |
Postfix increment operator.
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator++ | ( | ) | [inline] |
Prefix increment operator.
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator= | ( | rhs_type | rhs | ) | [inline] |
Assignment of index calls for change of that index in the monomial.
References PBoRiOutIter< DataType, RhsType, BinOp >::data, and PBoRiOutIter< DataType, RhsType, BinOp >::op.
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator= | ( | const self & | rhs | ) | [inline] |
Assignment.
References PBoRiOutIter< DataType, RhsType, BinOp >::data, and PBoRiOutIter< DataType, RhsType, BinOp >::op.
data_type& PBoRiOutIter< DataType, RhsType, BinOp >::data [protected] |
Referenced by PBoRiOutIter< DataType, RhsType, BinOp >::operator=().
op_type PBoRiOutIter< DataType, RhsType, BinOp >::op [protected] |
Referenced by PBoRiOutIter< DataType, RhsType, BinOp >::operator=().