Metadata container to create metadata information on demand using a balance partition of the view's domain to determine the metadata information. More...
Public Member Functions | |
generator_container (component_type c) | |
iterator | begin () |
iterator | end () |
reference | operator[] (index_type const &index) |
size_t | size () const |
dimensions_type | dimensions () const |
index_type | get_local_vid (index_type const &) |
template<typename T > | |
void | push_back_here (T const &) |
Adds the given metadata information in to the local storage. More... | |
size_t | local_size (void) 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 (index_type const &) const |
domain_type | domain (void) const |
void | update (void) |
Verify that all the elements that need to be stored in this location were assigned. More... | |
Public Types | |
using | dimension_type = typename dimension_traits< typename domain_t::gid_type >::type |
using | domain_type = typename part_t::domain_type |
using | index_type = typename part_t::index_type |
using | value_type = MD |
using | component_type = typename value_type::component_type |
using | reference = value_type |
using | iterator = value_type * |
using | dimensions_type = index_type |
Metadata container to create metadata information on demand using a balance partition of the view's domain to determine the metadata information.
MD | Type of the metadata used to represent the metadata information. |
index_type stapl::metadata::generator_container< MD >::get_local_vid | ( | index_type const & | ) |
void stapl::metadata::generator_container< MD >::push_back_here | ( | T const & | ) |
Adds the given metadata information in to the local storage.
This class does not support push_back_here
.
size_t stapl::metadata::generator_container< MD >::local_size | ( | void | ) | const |
Returns the number of local elements (number of elements in the base container).
location_type stapl::metadata::generator_container< MD >::get_location_element | ( | index_type const & | ) | const |
void stapl::metadata::generator_container< MD >::update | ( | void | ) |
Verify that all the elements that need to be stored in this location were assigned.
This class does not require any action. The method exists for interface compatibility