DASH
0.3.0
|
Proxy type referencing a dash::List
.
More...
#include <ListRef.h>
Public Types | |
typedef dash::default_index_t | index_type |
Type definitions required for DASH list concept: More... | |
typedef ElementType | value_type |
typedef ListRef< ElementType, LMemSpace > | view_type |
typedef LocalListRef< value_type, LMemSpace > | local_type |
typedef std::make_unsigned< index_type >::type | size_type |
Public types as required by STL list concept: More... | |
typedef list_type::iterator | iterator |
typedef list_type::const_iterator | const_iterator |
typedef list_type::reverse_iterator | reverse_iterator |
typedef list_type::const_reverse_iterator | const_reverse_iterator |
typedef list_type::reference | reference |
typedef list_type::const_reference | const_reference |
typedef list_type::pointer | pointer |
typedef list_type::const_pointer | const_pointer |
typedef glob_mem_type::local_pointer | local_pointer |
typedef glob_mem_type::const_local_pointer | const_local_pointer |
Public Member Functions | |
ListRef (list_type *list, const ViewSpec_t &viewspec) | |
void | push_back (const value_type &value) |
Inserts a new element at the end of the list, after its current last element. More... | |
void | pop_back () |
Removes and destroys the last element in the list, reducing the container size by one. More... | |
reference | back () |
Accesses the last element in the list. More... | |
void | push_front (const value_type &value) |
Inserts a new element at the beginning of the list, before its current first element. More... | |
void | pop_front () |
Removes and destroys the first element in the list, reducing the container size by one. More... | |
reference | front () |
Accesses the first element in the list. More... | |
Team & | team () const noexcept |
size_type | size () const noexcept |
size_type | local_size () const noexcept |
size_type | local_capacity () const noexcept |
bool | empty () const noexcept |
void | barrier () const |
const_pointer | data () const noexcept |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
local_pointer | lbegin () const noexcept |
Pointer to first element in local range. More... | |
local_pointer | lend () const noexcept |
Pointer past final element in local range. More... | |
Proxy type referencing a dash::List
.
typedef dash::default_index_t dash::ListRef< ElementType, LMemSpace >::index_type |
typedef std::make_unsigned<index_type>::type dash::ListRef< ElementType, LMemSpace >::size_type |
|
inline |
|
inline |
|
inline |
Accesses the first element in the list.
Definition at line 144 of file ListRef.h.
References dash::ListRef< ElementType, LMemSpace >::lbegin(), and dash::ListRef< ElementType, LMemSpace >::lend().
|
inlinenoexcept |
Pointer to first element in local range.
Referenced by dash::ListRef< ElementType, LMemSpace >::front().
|
inlinenoexcept |
Pointer past final element in local range.
Referenced by dash::ListRef< ElementType, LMemSpace >::front().
|
inline |
|
inline |
|
inline |
|
inline |