MAIA bb96820c
Multiphysics at AIA
|
Dummy iterator class. More...
#include <parallelfor.h>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = std::ptrdiff_t |
using | value_type = MInt |
using | pointer = MInt * |
using | reference = MInt & |
Public Member Functions | |
RangeIterator (value_type value) | |
reference | operator* () const |
pointer | operator-> () |
RangeIterator & | operator++ () |
RangeIterator | operator++ (MInt) |
RangeIterator & | operator-- () |
RangeIterator | operator-- (MInt) |
Private Attributes | |
MInt | m_value |
Friends | |
MBool | operator== (const RangeIterator &a, const RangeIterator &b) |
MBool | operator!= (const RangeIterator &a, const RangeIterator &b) |
MBool | operator> (const RangeIterator &a, const RangeIterator &b) |
This class is of forward iterator type without really iterating over an STL. It is only holding an integer to be in-/decreased. Purpose: To provide a range for std::for_each without explicitly creating a dummy array only containing a certain integer range.
Definition at line 45 of file parallelfor.h.
using maia::RangeIterator::difference_type = std::ptrdiff_t |
Definition at line 47 of file parallelfor.h.
using maia::RangeIterator::iterator_category = std::forward_iterator_tag |
Definition at line 46 of file parallelfor.h.
using maia::RangeIterator::pointer = MInt* |
Definition at line 49 of file parallelfor.h.
using maia::RangeIterator::reference = MInt& |
Definition at line 50 of file parallelfor.h.
using maia::RangeIterator::value_type = MInt |
Definition at line 48 of file parallelfor.h.
|
inline |
Definition at line 52 of file parallelfor.h.
|
inline |
Definition at line 55 of file parallelfor.h.
|
inline |
Definition at line 62 of file parallelfor.h.
|
inline |
Definition at line 66 of file parallelfor.h.
|
inline |
Definition at line 72 of file parallelfor.h.
|
inline |
Definition at line 76 of file parallelfor.h.
|
inline |
Definition at line 59 of file parallelfor.h.
|
friend |
Definition at line 84 of file parallelfor.h.
|
friend |
Definition at line 83 of file parallelfor.h.
|
friend |
Definition at line 85 of file parallelfor.h.
|
private |
Definition at line 88 of file parallelfor.h.