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 map_t::pointer | pointer |
typedef map_t::const_pointer | const_pointer |
typedef map_t::reference | reference |
typedef map_t::const_reference | const_reference |
typedef value_type * | raw_pointer |
typedef const value_type * | const_raw_pointer |
typedef std::conditional< std::is_const< value_type >::value, typename map_t::const_local_iterator, typename map_t::local_iterator >::type | local_pointer |
Public Member Functions | |
UnorderedMapGlobIter () | |
Default constructor. More... | |
UnorderedMapGlobIter (map_t *map, index_type position) | |
Constructor, creates iterator at specified global position. More... | |
UnorderedMapGlobIter (map_t *map, team_unit_t unit, index_type local_index) | |
Constructor, creates iterator at local position relative to the specified unit's local iteration space. More... | |
UnorderedMapGlobIter (const self_t &other)=default | |
Copy constructor. More... | |
self_t & | operator= (const self_t &other)=default |
Assignment operator. More... | |
UnorderedMapGlobIter (std::nullptr_t) | |
Null-pointer constructor. More... | |
self_t & | operator= (std::nullptr_t) noexcept |
Null-pointer assignment operator. More... | |
constexpr bool | operator== (std::nullptr_t) const noexcept |
constexpr bool | operator!= (std::nullptr_t) const noexcept |
reference | operator[] (index_type offset) |
Random access operator. More... | |
constexpr | operator pointer () const |
Type conversion operator to global pointer. More... | |
constexpr dart_gptr_t | dart_gptr () const |
Explicit conversion to dart_gptr_t . More... | |
reference | operator* () |
Dereference operator. More... | |
const_reference | operator* () const |
Dereference operator. 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_iterator | local () |
Conversion to local bucket iterator. More... | |
const_local_iterator | local () const |
Conversion to local bucket iterator. More... | |
local_index | lpos () const noexcept |
Unit and local offset at the iterator's position. More... | |
constexpr self_t | global () const noexcept |
Map iterator to global index domain. More... | |
constexpr index_type | pos () const noexcept |
Position of the iterator in global index space. More... | |
constexpr index_type | gpos () const noexcept |
Position of the iterator in global index range. 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_ > | |
constexpr bool | operator== (const UnorderedMapGlobIter< K_, M_, H_, P_, A_ > &other) const noexcept |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
constexpr bool | operator!= (const UnorderedMapGlobIter< K_, M_, H_, P_, A_ > &other) const noexcept |
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 |
constexpr index_type | operator+ (const self_t &other) const noexcept |
constexpr index_type | operator- (const self_t &other) const noexcept |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
constexpr bool | operator< (const UnorderedMapGlobIter< K_, M_, H_, P_, A_ > &other) const noexcept |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
constexpr bool | operator<= (const UnorderedMapGlobIter< K_, M_, H_, P_, A_ > &other) const noexcept |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
constexpr bool | operator> (const UnorderedMapGlobIter< K_, M_, H_, P_, A_ > &other) const noexcept |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename A_ > | |
constexpr bool | operator>= (const UnorderedMapGlobIter< K_, M_, H_, P_, A_ > &other) const noexcept |
Friends | |
template<typename K_ , typename M_ , typename H_ , typename P_ , typename G_ > | |
std::ostream & | dash::operator<< (std::ostream &os, const dash::UnorderedMapGlobIter< K_, M_, H_, P_, G_ > &it) |
Definition at line 41 of file UnorderedMapGlobIter.h.
|
inline |
Default constructor.
Definition at line 99 of file UnorderedMapGlobIter.h.
|
inline |
Constructor, creates iterator at specified global position.
Definition at line 106 of file UnorderedMapGlobIter.h.
|
inline |
Constructor, creates iterator at local position relative to the specified unit's local iteration space.
Definition at line 124 of file UnorderedMapGlobIter.h.
|
default |
Copy constructor.
|
inline |
|
inline |
Explicit conversion to dart_gptr_t
.
Definition at line 216 of file UnorderedMapGlobIter.h.
Referenced by dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::operator pointer(), and dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::operator*().
|
inlinenoexcept |
Map iterator to global index domain.
Definition at line 321 of file UnorderedMapGlobIter.h.
|
inlinenoexcept |
Position of the iterator in global index range.
Definition at line 337 of file UnorderedMapGlobIter.h.
|
inlinenoexcept |
Checks whether the element referenced by this global iterator is in the calling unit's local memory.
Definition at line 278 of file UnorderedMapGlobIter.h.
Referenced by dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::operator*().
|
inline |
Conversion to local bucket iterator.
Definition at line 286 of file UnorderedMapGlobIter.h.
Referenced by dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::operator*().
|
inline |
Conversion to local bucket iterator.
Definition at line 298 of file UnorderedMapGlobIter.h.
|
inlinenoexcept |
Unit and local offset at the iterator's position.
Definition at line 310 of file UnorderedMapGlobIter.h.
|
inline |
Type conversion operator to global pointer.
Definition at line 205 of file UnorderedMapGlobIter.h.
References dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::dart_gptr().
|
inline |
Dereference operator.
Definition at line 229 of file UnorderedMapGlobIter.h.
References dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::dart_gptr(), dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::is_local(), and dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::local().
|
inline |
Dereference operator.
Definition at line 249 of file UnorderedMapGlobIter.h.
References dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::dart_gptr(), dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::is_local(), and dash::UnorderedMapGlobIter< Key, Mapped, Hash, Pred, GlobMemType >::local().
|
inline |
Prefix increment operator.
Definition at line 345 of file UnorderedMapGlobIter.h.
|
inline |
Postfix increment operator.
Definition at line 363 of file UnorderedMapGlobIter.h.
|
inline |
Prefix decrement operator.
Definition at line 354 of file UnorderedMapGlobIter.h.
|
inline |
Postfix decrement operator.
Definition at line 373 of file UnorderedMapGlobIter.h.
References dash::operator<(), dash::operator<=(), dash::operator>(), and dash::operator>=().
|
default |
Assignment operator.
|
inlinenoexcept |
Null-pointer assignment operator.
Definition at line 174 of file UnorderedMapGlobIter.h.
|
inline |
Random access operator.
Definition at line 193 of file UnorderedMapGlobIter.h.
|
inlinenoexcept |
Position of the iterator in global index space.
Definition at line 329 of file UnorderedMapGlobIter.h.