1 #ifndef DASH__PATTERN_ITERATOR_H_ 2 #define DASH__PATTERN_ITERATOR_H_ 50 const PatternType & _pattern;
51 IndexType _global_pos;
60 const pattern_it_t & _pattern_it;
64 : _pattern_it(pattern_it) {
73 const PatternType & pattern)
84 : _pattern(other._pattern),
85 _global_pos(other._global_pos) {
93 return _pattern.local(_global_pos);
139 #endif // DASH__PATTERN_ITERATOR_H_ This class is a simple memory pool which holds allocates elements of size ValueType.
PatternIterator(const PatternType &pattern)
Constructor.
self_t & operator++()
Prefix increment operator.
self_t operator++(int)
Postfix increment operator.
internal::default_signed_index default_index_t
Signed integer type used as default for index values.
self_t operator--(int)
Postfix decrement operator.
PatternIterator(const self_t &other)
Copy constructor.
self_t & operator--()
Prefix decrement operator.
PatternType::local_index_t operator*()
Dereference operator, returns unit and local offset at current iterator position in global cartesian ...