DASH
0.3.0
|
Iterator on local buckets. More...
#include <GlobHeapLocalPtr.h>
Public Types | |
typedef IndexType | index_type |
typedef std::make_unsigned< index_type >::type | size_type |
typedef std::random_access_iterator_tag | iterator_category |
Type definitions required for std::iterator_traits: More... | |
typedef IndexType | difference_type |
typedef ElementType | value_type |
typedef ElementType * | pointer |
typedef ElementType & | reference |
typedef internal::glob_dynamic_mem_bucket_type< size_type, value_type > | bucket_type |
Public Member Functions | |
template<typename BucketIter > | |
GlobHeapLocalPtr (const BucketIter &bucket_first, const BucketIter &bucket_last, index_type position, const BucketIter &bucket_it, index_type bucket_phase) | |
template<typename BucketIter > | |
GlobHeapLocalPtr (const BucketIter &bucket_first, const BucketIter &bucket_last, index_type position) | |
GlobHeapLocalPtr (const self_t &other) | |
self_t & | operator= (const self_t &rhs) |
template<typename I_ , typename P_ , typename R_ > | |
operator GlobHeapLocalPtr< const value_type, I_, P_, R_ > () const | |
Conversion to const iterator. More... | |
GlobHeapLocalPtr (std::nullptr_t) | |
self_t & | operator= (std::nullptr_t) |
bool | operator== (std::nullptr_t) const |
bool | operator!= (std::nullptr_t) const |
reference | operator* () |
Dereference operator. More... | |
reference | operator[] (index_type offset) |
Random access operator. More... | |
operator pointer () const | |
Conversion to native pointer. More... | |
self_t & | operator++ () |
self_t & | operator-- () |
self_t | operator++ (int) |
self_t | operator-- (int) |
self_t & | operator+= (int offset) |
self_t & | operator-= (int offset) |
self_t | operator+ (int offset) const |
self_t | operator- (int offset) const |
index_type | operator+ (const self_t &other) const |
index_type | operator- (const self_t &other) const |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
bool | operator< (const GlobHeapLocalPtr< E_, I_, P_, R_ > &other) const |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
bool | operator<= (const GlobHeapLocalPtr< E_, I_, P_, R_ > &other) const |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
bool | operator> (const GlobHeapLocalPtr< E_, I_, P_, R_ > &other) const |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
bool | operator>= (const GlobHeapLocalPtr< E_, I_, P_, R_ > &other) const |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
bool | operator== (const GlobHeapLocalPtr< E_, I_, P_, R_ > &other) const |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
bool | operator!= (const GlobHeapLocalPtr< E_, I_, P_, R_ > &other) const |
constexpr bool | is_local () const |
Whether the pointer references an element in local memory space. More... | |
index_type | pos () const |
Position of the pointer relative to its referenced memory space. More... | |
Friends | |
template<typename E_ , typename I_ , typename P_ , typename R_ > | |
std::ostream & | dash::operator<< (std::ostream &os, const dash::GlobHeapLocalPtr< E_, I_, P_, R_ > &it) |
Iterator on local buckets.
Represents local pointer type.
Definition at line 32 of file GlobHeapLocalPtr.h.
typedef std::random_access_iterator_tag dash::GlobHeapLocalPtr< ElementType, IndexType, PointerType, ReferenceType >::iterator_category |
Type definitions required for std::iterator_traits:
Definition at line 58 of file GlobHeapLocalPtr.h.
|
inline |
Whether the pointer references an element in local memory space.
Definition at line 371 of file GlobHeapLocalPtr.h.
|
inline |
Conversion to const iterator.
Definition at line 152 of file GlobHeapLocalPtr.h.
|
inlineexplicit |
Conversion to native pointer.
Use with caution: This conversion returns a pointer a that does not iterate over buckets, pointer arithmetics may lead to undefined behaviour.
Definition at line 232 of file GlobHeapLocalPtr.h.
|
inline |
Dereference operator.
Definition at line 188 of file GlobHeapLocalPtr.h.
|
inline |
Random access operator.
Definition at line 203 of file GlobHeapLocalPtr.h.
|
inline |
Position of the pointer relative to its referenced memory space.
Definition at line 379 of file GlobHeapLocalPtr.h.