PBoRiOutIter< DataType, RhsType, BinOp > Class Template Reference

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>

List of all members.

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.
selfoperator* ()
selfoperator= (const self &rhs)
 Assignment.
selfoperator= (rhs_type rhs)
 Assignment of index calls for change of that index in the monomial.
selfoperator++ ()
 Prefix increment operator.
self operator++ (int)
 Postfix increment operator.

Protected Attributes

data_typedata
op_type op

Detailed Description

template<class DataType, class RhsType, class BinOp>
class PBoRiOutIter< DataType, RhsType, BinOp >

This template class defines an output iterator which interprets assignments of indices as a change of given data wrt. a given binary operation.


Member Typedef Documentation

template<class DataType, class RhsType, class BinOp>
typedef DataType PBoRiOutIter< DataType, RhsType, BinOp >::data_type

Data type.

template<class DataType, class RhsType, class BinOp>
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::difference_type
template<class DataType, class RhsType, class BinOp>
typedef std::output_iterator_tag PBoRiOutIter< DataType, RhsType, BinOp >::iterator_category
template<class DataType, class RhsType, class BinOp>
typedef BinOp PBoRiOutIter< DataType, RhsType, BinOp >::op_type

Type of binary operation used to transform data and rhs.

template<class DataType, class RhsType, class BinOp>
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::pointer
template<class DataType, class RhsType, class BinOp>
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::reference
template<class DataType, class RhsType, class BinOp>
typedef RhsType PBoRiOutIter< DataType, RhsType, BinOp >::rhs_type

Type of right-hand side.

template<class DataType, class RhsType, class BinOp>
typedef PBoRiOutIter<data_type, rhs_type, op_type> PBoRiOutIter< DataType, RhsType, BinOp >::self

Type of *this.

template<class DataType, class RhsType, class BinOp>
typedef void PBoRiOutIter< DataType, RhsType, BinOp >::value_type

Constructor & Destructor Documentation

template<class DataType, class RhsType, class BinOp>
PBoRiOutIter< DataType, RhsType, BinOp >::PBoRiOutIter ( data_type data_,
op_type  op_ = op_type() 
) [inline]

Constructor.

template<class DataType, class RhsType, class BinOp>
PBoRiOutIter< DataType, RhsType, BinOp >::PBoRiOutIter ( const self rhs  )  [inline]

Copy constructor.

template<class DataType, class RhsType, class BinOp>
PBoRiOutIter< DataType, RhsType, BinOp >::~PBoRiOutIter (  )  [inline]

Destructor.


Member Function Documentation

template<class DataType, class RhsType, class BinOp>
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator* (  )  [inline]

Dereference operator

Note:
*this is used as proxy reference
template<class DataType, class RhsType, class BinOp>
self PBoRiOutIter< DataType, RhsType, BinOp >::operator++ ( int   )  [inline]

Postfix increment operator.

template<class DataType, class RhsType, class BinOp>
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator++ (  )  [inline]

Prefix increment operator.

template<class DataType, class RhsType, class BinOp>
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.

template<class DataType, class RhsType, class BinOp>
self& PBoRiOutIter< DataType, RhsType, BinOp >::operator= ( const self rhs  )  [inline]

Member Data Documentation

template<class DataType, class RhsType, class BinOp>
data_type& PBoRiOutIter< DataType, RhsType, BinOp >::data [protected]
template<class DataType, class RhsType, class BinOp>
op_type PBoRiOutIter< DataType, RhsType, BinOp >::op [protected]

The documentation for this class was generated from the following file:
Generated on Tue May 4 08:19:08 2010 for PolyBoRi by  doxygen 1.6.3