PolyBoRi
Public Types | Public Member Functions | Protected Attributes
polybori::PBoRiOutIter Class 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

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

Data type.

typedef std::output_iterator_tag polybori::PBoRiOutIter::iterator_category

Type of binary operation used to transform data and rhs.

Type of right-hand side.

Type of *this.


Constructor & Destructor Documentation

polybori::PBoRiOutIter::PBoRiOutIter ( data_type data_,
op_type  op_ = op_type() 
) [inline]

Constructor.

polybori::PBoRiOutIter::PBoRiOutIter ( const self rhs) [inline]

Copy constructor.

polybori::PBoRiOutIter::~PBoRiOutIter ( ) [inline]

Destructor.


Member Function Documentation

self& polybori::PBoRiOutIter::operator* ( ) [inline]

Dereference operator

Note:
*this is used as proxy reference
self& polybori::PBoRiOutIter::operator++ ( ) [inline]

Prefix increment operator.

self polybori::PBoRiOutIter::operator++ ( int  ) [inline]

Postfix increment operator.

self& polybori::PBoRiOutIter::operator= ( const self rhs) [inline]

Assignment.

References data.

self& polybori::PBoRiOutIter::operator= ( rhs_type  rhs) [inline]

Assignment of index calls for change of that index in the monomial.


Member Data Documentation

Referenced by operator=().


The documentation for this class was generated from the following file: