Metadata container that wraps a distribution of a pContainer. More...
Public Member Functions | |
| container_wrapper (distribution_type *dist) | |
| iterator | begin () |
| Returns an iterator to the beginning of the local base container. More... | |
| iterator | end () |
| Returns an iterator to the end of the local base container. More... | |
| value_type | operator[] (size_t index) |
| size_t | size () const |
| dimensions_type | dimensions () const |
| domain_type | domain () const |
| size_t | get_local_vid (size_t) |
| template<typename T > | |
| void | push_back_here (T const &) |
| size_t | local_size () const |
| Returns the number of local elements (number of elements in the base container). More... | |
| dimensions_type | local_dimensions () const |
| location_type | get_location_element (size_t index) const |
| void | update () |
Public Types | |
| typedef D | distribution_type |
| typedef size_t | index_type |
| typedef size_t | dimensions_type |
| typedef indexed_domain< index_type > | domain_type |
| typedef detail::metadata_info< distribution_type > | value_type |
| typedef value_type & | reference |
| typedef value_type * | iterator |
Public Attributes | |
| distribution_type & | m_dist |
| value_type | m_ref |
Metadata container that wraps a distribution of a pContainer.
This class uses the given distribution to implement the methods without incurring new storage creation for the locality metadata. This metadata container is used for static_array when the number of base containers and its partition is fixed (no migration is supported).
| iterator stapl::metadata::container_wrapper< D >::begin | ( | void | ) |
Returns an iterator to the beginning of the local base container.
This iterator is used to traverse the local data.
| iterator stapl::metadata::container_wrapper< D >::end | ( | void | ) |
Returns an iterator to the end of the local base container.
This iterator is used to traverse the local data.
| size_t stapl::metadata::container_wrapper< D >::get_local_vid | ( | size_t | ) |
| void stapl::metadata::container_wrapper< D >::push_back_here | ( | T const & | ) |
| size_t stapl::metadata::container_wrapper< D >::local_size | ( | ) | const |
Returns the number of local elements (number of elements in the base container).
| location_type stapl::metadata::container_wrapper< D >::get_location_element | ( | size_t | index | ) | const |
1.8.13