|
| constexpr | GlobPtr ()=default |
| | Default constructor, underlying global address is unspecified. More...
|
| |
| constexpr | GlobPtr (dart_gptr_t gptr) DASH_NOEXCEPT |
| | Constructor, specifies underlying global address. More...
|
| |
| constexpr | GlobPtr (std::nullptr_t) DASH_NOEXCEPT |
| | Constructor for conversion of std::nullptr_t. More...
|
| |
| constexpr | GlobPtr (const self_t &other)=default |
| | Copy constructor. More...
|
| |
| self_t & | operator= (const self_t &rhs)=default |
| | Assignment operator. More...
|
| |
| self_t & | operator= (std::nullptr_t) |
| | nullptr assignment operator. More...
|
| |
| template<typename From , typename = typename std::enable_if< dash::internal::is_pointer_assignable< typename dash::remove_atomic<From>::type, typename dash::remove_atomic<value_type>::type>::value> ::type> |
| constexpr | GlobPtr (const GlobPtr< From, GlobMemT > &other) DASH_NOEXCEPT |
| | Implicit Converting Constructor, only allowed if one of the following conditions is satisfied: More...
|
| |
| constexpr | GlobPtr (self_t &&other) DASH_NOEXCEPT=default |
| | Move constructor. More...
|
| |
| self_t & | operator= (self_t &&rhs) DASH_NOEXCEPT=default |
| | Move-assignment operator. More...
|
| |
| | operator value_type * () const DASH_NOEXCEPT |
| | Converts pointer to its referenced native pointer or nullptr if the GlobPtr does not point to a local address. More...
|
| |
| | operator value_type * () |
| | Conversion operator to local pointer. More...
|
| |
| constexpr | operator dart_gptr_t () const DASH_NOEXCEPT |
| | Converts pointer to its underlying global address. More...
|
| |
| constexpr dart_gptr_t | dart_gptr () const DASH_NOEXCEPT |
| | The pointer's underlying global address. More...
|
| |
| constexpr index_type | operator- (const self_t &rhs) const DASH_NOEXCEPT |
| | Pointer offset difference operator. More...
|
| |
| self_t & | operator++ () DASH_NOEXCEPT |
| | Prefix increment operator. More...
|
| |
| self_t | operator++ (int) DASH_NOEXCEPT |
| | Postfix increment operator. More...
|
| |
| self_t | operator+ (index_type n) const DASH_NOEXCEPT |
| | Pointer increment operator. More...
|
| |
| self_t & | operator+= (index_type n) DASH_NOEXCEPT |
| | Pointer increment operator. More...
|
| |
| self_t & | operator-- () DASH_NOEXCEPT |
| | Prefix decrement operator. More...
|
| |
| self_t | operator-- (int) DASH_NOEXCEPT |
| | Postfix decrement operator. More...
|
| |
| self_t | operator- (index_type n) const DASH_NOEXCEPT |
| | Pointer decrement operator. More...
|
| |
| self_t & | operator-= (index_type n) DASH_NOEXCEPT |
| | Pointer decrement operator. More...
|
| |
| constexpr bool | operator== (const GlobPtr &other) const DASH_NOEXCEPT |
| | Equality comparison operator. More...
|
| |
| constexpr bool | operator== (std::nullptr_t) const DASH_NOEXCEPT |
| | Equality comparison operator. More...
|
| |
| template<class GlobPtrT > |
| constexpr bool | operator!= (const GlobPtrT &other) const DASH_NOEXCEPT |
| | Inequality comparison operator. More...
|
| |
| template<class GlobPtrT > |
| constexpr bool | operator< (const GlobPtrT &other) const DASH_NOEXCEPT |
| | Less comparison operator. More...
|
| |
| template<class GlobPtrT > |
| constexpr bool | operator<= (const GlobPtrT &other) const DASH_NOEXCEPT |
| | Less-equal comparison operator. More...
|
| |
| template<class GlobPtrT > |
| constexpr bool | operator> (const GlobPtrT &other) const DASH_NOEXCEPT |
| | Greater comparison operator. More...
|
| |
| template<class GlobPtrT > |
| constexpr bool | operator>= (const GlobPtrT &other) const DASH_NOEXCEPT |
| | Greater-equal comparison operator. More...
|
| |
| constexpr GlobRef< const value_type > | operator[] (gptrdiff_t n) const DASH_NOEXCEPT |
| | Subscript operator. More...
|
| |
| GlobRef< value_type > | operator[] (gptrdiff_t n) DASH_NOEXCEPT |
| | Subscript assignment operator. More...
|
| |
| GlobRef< value_type > | operator* () DASH_NOEXCEPT |
| | Dereference operator. More...
|
| |
| constexpr GlobRef< const value_type > | operator* () const DASH_NOEXCEPT |
| | Dereference operator. More...
|
| |
| value_type * | local () |
| | Conversion to local pointer. More...
|
| |
| const value_type * | local () const |
| | Conversion to local const pointer. More...
|
| |
| void | set_unit (team_unit_t unit_id) DASH_NOEXCEPT |
| | Set the global pointer's associated unit. More...
|
| |
|
constexpr auto | get_unit () const DASH_NOEXCEPT |
| |
| bool | is_local () const |
| | Check whether the global pointer is in the local address space the pointer's associated unit. More...
|
| |
|
constexpr | operator bool () const DASH_NOEXCEPT |
| |
template<typename ElementType, class GlobMemT>
class dash::GlobPtr< ElementType, GlobMemT >
Pointer in global memory space with random access arithmetics.
Forward declarations.
- See also
- GlobIter
- Implemented concept:
- DashMemorySpaceConcept
Definition at line 33 of file GlobPtr.h.