#include <TransformedIterator.h>
Public Types | |
typedef OperatorType | operator_type |
typedef operator_type::result_type | result_type |
Public Member Functions | |
TransformedIterator (iterator iter, const operator_type &func) | |
Construct from given iterator and unary functional. | |
void | increment () |
Increment operation. | |
result_type | dereference () const |
Constant dereference operator. | |
bool | equal (const self &rhs) const |
Equality check. |
It store changes a given iterator by transforming the dereference value using a unary functional.
typedef OperatorType polybori::TransformedIterator< IteratorType, OperatorType >::operator_type |
typedef operator_type::result_type polybori::TransformedIterator< IteratorType, OperatorType >::result_type |
polybori::TransformedIterator< IteratorType, OperatorType >::TransformedIterator | ( | iterator | iter, | |
const operator_type & | func | |||
) | [inline] |
Construct from given iterator and unary functional.
void polybori::TransformedIterator< IteratorType, OperatorType >::increment | ( | ) | [inline] |
Increment operation.
result_type polybori::TransformedIterator< IteratorType, OperatorType >::dereference | ( | ) | const [inline] |
Constant dereference operator.
bool polybori::TransformedIterator< IteratorType, OperatorType >::equal | ( | const self & | rhs | ) | const [inline] |
Equality check.