DASH
0.3.0
|
Classes | |
struct | local_index |
Public Types | |
typedef map_t::value_type | value_type |
typedef dash::default_index_t | index_type |
typedef dash::default_size_t | size_type |
typedef value_type * | pointer |
typedef const value_type * | const_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
Public Member Functions | |
UnorderedMapLocalIter () | |
Default constructor. More... | |
UnorderedMapLocalIter (map_t *map, index_type local_position) | |
Constructor, creates iterator at specified global position. More... | |
UnorderedMapLocalIter (const self_t &other)=default | |
Copy constructor. More... | |
self_t & | operator= (const self_t &other)=default |
Assignment operator. More... | |
UnorderedMapLocalIter (std::nullptr_t) | |
Null-pointer constructor. More... | |
self_t & | operator= (std::nullptr_t) noexcept |
Null-pointer assignment operator. More... | |
bool | operator== (std::nullptr_t) const noexcept |
bool | operator!= (std::nullptr_t) const noexcept |
reference | operator[] (index_type offset) |
Random access operator. More... | |
operator pointer () const | |
Type conversion operator to native pointer. More... | |
reference | operator* () const |
Dereference operator. More... | |
dart_gptr_t | dart_gptr () const |
Explicit conversion to dart_gptr_t . More... | |
constexpr bool | is_local () const noexcept |
Checks whether the element referenced by this global iterator is in the calling unit's local memory. More... | |
local_index | lpos () const noexcept |
Unit and local offset at the iterator's position. More... | |
index_type | pos () const noexcept |
Position of the iterator in global index space. More... | |
self_t & | operator++ () |
Prefix increment operator. More... | |
self_t & | operator-- () |
Prefix decrement operator. More... | |
self_t | operator++ (int) |
Postfix increment operator. More... | |
self_t | operator-- (int) |
Postfix decrement operator. More... | |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
bool | operator== (const UnorderedMapLocalIter< K_, M_, H_, P_, A_ > &other) const |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
bool | operator!= (const UnorderedMapLocalIter< K_, M_, H_, P_, A_ > &other) const |
self_t & | operator+= (index_type offset) |
self_t & | operator-= (index_type offset) |
self_t | operator+ (index_type offset) const |
self_t | operator- (index_type offset) const |
index_type | operator+ (const self_t &other) const |
index_type | operator- (const self_t &other) const |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
bool | operator< (const UnorderedMapLocalIter< K_, M_, H_, P_, A_ > &other) const |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
bool | operator<= (const UnorderedMapLocalIter< K_, M_, H_, P_, A_ > &other) const |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
bool | operator> (const UnorderedMapLocalIter< K_, M_, H_, P_, A_ > &other) const |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
bool | operator>= (const UnorderedMapLocalIter< K_, M_, H_, P_, A_ > &other) const |
Friends | |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename LM_ > | |
std::ostream & | dash::operator<< (std::ostream &os, const dash::UnorderedMapLocalIter< K_, M_, H_, P_, LM_ > &it) |
Definition at line 40 of file UnorderedMapLocalIter.h.
|
inline |
Default constructor.
Definition at line 84 of file UnorderedMapLocalIter.h.
Referenced by dash::UnorderedMapLocalIter< Key, Mapped, Hash, Pred, LMemSpace >::UnorderedMapLocalIter().
|
inline |
Constructor, creates iterator at specified global position.
Definition at line 91 of file UnorderedMapLocalIter.h.
References dash::UnorderedMapLocalIter< Key, Mapped, Hash, Pred, LMemSpace >::operator=(), and dash::UnorderedMapLocalIter< Key, Mapped, Hash, Pred, LMemSpace >::UnorderedMapLocalIter().
|
default |
Copy constructor.
|
inline |
|
inline |
Explicit conversion to dart_gptr_t
.
Definition at line 195 of file UnorderedMapLocalIter.h.
References dash::GlobHeapMem< ElementType, LocalMemorySpace, AllocationPolicy, LocalAlloc >::at(), dash::GlobHeapPtr< ElementType, MemSpaceT >::dart_gptr(), DART_GPTR_NULL, and dash::UnorderedMap< Key, Mapped, Hash, Pred, LocalMemType >::globmem().
|
inlinenoexcept |
Checks whether the element referenced by this global iterator is in the calling unit's local memory.
Definition at line 210 of file UnorderedMapLocalIter.h.
|
inlinenoexcept |
Unit and local offset at the iterator's position.
Definition at line 218 of file UnorderedMapLocalIter.h.
|
inlineexplicit |
Type conversion operator to native pointer.
Definition at line 160 of file UnorderedMapLocalIter.h.
References dash::UnorderedMap< Key, Mapped, Hash, Pred, LocalMemType >::globmem(), and dash::GlobHeapMem< ElementType, LocalMemorySpace, AllocationPolicy, LocalAlloc >::lbegin().
|
inline |
Dereference operator.
Definition at line 178 of file UnorderedMapLocalIter.h.
References dash::UnorderedMap< Key, Mapped, Hash, Pred, LocalMemType >::globmem(), and dash::GlobHeapMem< ElementType, LocalMemorySpace, AllocationPolicy, LocalAlloc >::lbegin().
|
inline |
Prefix increment operator.
Definition at line 237 of file UnorderedMapLocalIter.h.
|
inline |
Postfix increment operator.
Definition at line 255 of file UnorderedMapLocalIter.h.
|
inline |
Prefix decrement operator.
Definition at line 246 of file UnorderedMapLocalIter.h.
|
inline |
Postfix decrement operator.
Definition at line 265 of file UnorderedMapLocalIter.h.
References DART_UNDEFINED_TEAM_UNIT_ID.
|
default |
Assignment operator.
Referenced by dash::UnorderedMapLocalIter< Key, Mapped, Hash, Pred, LMemSpace >::UnorderedMapLocalIter().
|
inlinenoexcept |
Null-pointer assignment operator.
Definition at line 129 of file UnorderedMapLocalIter.h.
|
inline |
Random access operator.
Definition at line 148 of file UnorderedMapLocalIter.h.
|
inlinenoexcept |
Position of the iterator in global index space.
Definition at line 229 of file UnorderedMapLocalIter.h.