DASH
0.3.0
|
Bi-directional global iterator on elements of a dash::List
instance.
More...
#include <GlobListIter.h>
Public Member Functions | |
GlobListIter ()=default | |
Default constructor. More... | |
GlobListIter (GlobMemType *gmem, node_type &node) | |
Constructor, creates a global iterator on a dash::List instance. More... | |
GlobListIter (const self_t &other)=default | |
Copy constructor. More... | |
self_t & | operator= (const self_t &other)=default |
Assignment operator. More... | |
operator pointer () const | |
Type conversion operator to pointer type. More... | |
reference | operator* () |
Dereference operator. More... | |
const_reference | operator* () const |
Dereference operator. More... | |
self_t | global () const |
Map iterator to global index domain. More... | |
constexpr bool | is_relative () const noexcept |
Whether the iterator's position is relative to a view. More... | |
const GlobMemType & | globmem () const |
The instance of GlobStaticMem used by this iterator to resolve addresses in global memory. More... | |
GlobMemType & | globmem () |
The instance of GlobStaticMem used by this iterator to resolve addresses in global memory. More... | |
self_t & | operator++ () |
Prefix increment operator. More... | |
self_t | operator++ (int) |
Postfix increment operator. More... | |
self_t & | operator-- () |
Prefix decrement operator. More... | |
self_t | operator-- (int) |
Postfix decrement operator. More... | |
bool | operator== (const self_t &other) const |
Equality comparison operator. More... | |
bool | operator!= (const self_t &other) const |
Inequality comparison operator. More... | |
Bi-directional global iterator on elements of a dash::List
instance.
Definition at line 25 of file GlobListIter.h.
|
default |
Default constructor.
Referenced by dash::GlobListIter< value_type, glob_mem_type >::GlobListIter().
|
inline |
Constructor, creates a global iterator on a dash::List
instance.
Definition at line 64 of file GlobListIter.h.
|
default |
Copy constructor.
|
inline |
Map iterator to global index domain.
Definition at line 121 of file GlobListIter.h.
|
inline |
The instance of GlobStaticMem
used by this iterator to resolve addresses in global memory.
Definition at line 142 of file GlobListIter.h.
|
inline |
The instance of GlobStaticMem
used by this iterator to resolve addresses in global memory.
Definition at line 151 of file GlobListIter.h.
|
inlinenoexcept |
Whether the iterator's position is relative to a view.
TODO: should be iterator trait: dash::iterator_traits<GlobListIter<..>>::is_relative()::value
Definition at line 133 of file GlobListIter.h.
|
inline |
Type conversion operator to pointer
type.
Definition at line 91 of file GlobListIter.h.
|
inline |
Inequality comparison operator.
Definition at line 205 of file GlobListIter.h.
|
inline |
Dereference operator.
Definition at line 103 of file GlobListIter.h.
|
inline |
Dereference operator.
Definition at line 114 of file GlobListIter.h.
|
inline |
Prefix increment operator.
Definition at line 159 of file GlobListIter.h.
|
inline |
Postfix increment operator.
Definition at line 168 of file GlobListIter.h.
|
inline |
Prefix decrement operator.
Definition at line 178 of file GlobListIter.h.
|
inline |
Postfix decrement operator.
Definition at line 187 of file GlobListIter.h.
|
default |
Assignment operator.
Referenced by dash::GlobListIter< value_type, glob_mem_type >::GlobListIter().
|
inline |
Equality comparison operator.
Definition at line 197 of file GlobListIter.h.