Container for metadata used when the number of elements (metadata information) is known at the construction time.  
 More...
|  | 
|  | flat_container (size_t n) | 
|  | 
| 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... 
 | 
|  | 
| domain_type | domain (void) const | 
|  | 
| dimensions_type | dimensions (void) const | 
|  | 
| dimensions_type | local_dimensions (void) const | 
|  | 
| size_t | get_local_vid (size_t index) | 
|  | Returns the global index of the given local index.  More...
 | 
|  | 
| location_type | get_location_element (size_t index) const | 
|  | Returns the location where the metadata indexed by indexis located.  More...
 | 
|  | 
| location_type | get_location_id () const | 
|  | 
| size_t | get_num_locations () const | 
|  | 
| size_t | local_size (void) const | 
|  | Returns the number of local elements (number of elements in the base container).  More... 
 | 
|  | 
| void | push_back_here (MD const &) | 
|  | 
| void | update () | 
|  | Verify that all the elements that need to be stored in this location were assigned. 
 | 
|  | 
| template<typename DistSpecView > | 
| std::enable_if<(is_distribution_view< DistSpecView >::value||detail::has_is_composed_dist_spec< DistSpecView >::value) &&is_view_based< partition_type >::value &&is_view_based< mapper_type >::value >::type | redistribute (DistSpecView const &dist_view) | 
|  | Redistribute the data stored in the container to match the distribution specified by the distribution view provided.  More... 
 | 
|  | 
| template<typename DistSpecView > | 
| std::enable_if<(is_distribution_view< DistSpecView >::value||detail::has_is_composed_dist_spec< DistSpecView >::value) &&is_view_based< partition_type >::value &&is_view_based< mapper_type >::value >::type | redistribute (DistSpecView const *dist_view) | 
|  | Redistribute the data stored in the container to match the distribution specified by the distribution view provided.  More... 
 | 
|  | 
| void | destroy (void) | 
|  | Used as a target method for rmis implementing one-sided destruction, as a pointer to member variable referring to the destructor cannot be initialized, per the standard. Used when container is an element of another container. 
 | 
|  | 
| boost::shared_ptr< C > | shared_from_this () | 
|  | 
|  | 
| reference | operator[] (gid_type const &gid) | 
|  | Construct a reference to a specific index of the array.  More... 
 | 
|  | 
| const_reference | operator[] (gid_type const &gid) const | 
|  | Construct a const_reference to a specific index of the array.  More... 
 | 
|  | 
| reference | front () | 
|  | Construct a reference to the first element of the array.  More... 
 | 
|  | 
| const_reference | front () const | 
|  | Construct a const_reference to the first element of the array.  More... 
 | 
|  | 
| reference | back () | 
|  | Construct a reference to the last element of the array.  More... 
 | 
|  | 
| const_reference | back () const | 
|  | Construct a const_reference to the last element of the array.  More... 
 | 
|  | 
| reference | make_reference (gid_type const &gid) | 
|  | Construct a reference to a specific index of the array.  More... 
 | 
|  | 
| const_reference | make_reference (gid_type const &gid) const | 
|  | Construct a const_reference to a specific index of the array.  More... 
 | 
|  | 
| const_iterator | begin (void) const | 
|  | Construct an const_iterator to the beginning of the array.  More... 
 | 
|  | 
| const_iterator | cbegin (void) const | 
|  | Construct an const_iterator to the beginning of the array.  More... 
 | 
|  | 
| const_iterator | end (void) const | 
|  | Construct an const_iterator to one past the end of the array.  More... 
 | 
|  | 
| const_iterator | cend (void) const | 
|  | Construct an const_iterator to one past the end of the array.  More... 
 | 
|  | 
| iterator | make_iterator (index_type const &index) | 
|  | Construct an iterator to a specific index of the array.  More... 
 | 
|  | 
| const_iterator | make_iterator (index_type const &index) const | 
|  | Construct an iterator to a specific index of the array.  More... 
 | 
|  | 
|  | 
| void | set_element (index_type const &idx, value_type const &val) | 
|  | Sets the element specified by the index to the provided value.  More... 
 | 
|  | 
| template<typename View > | 
| void | set_elements (index_type const &idx, View &&vals) | 
|  | Sets a range of elements starting with a given index to a sequence of provided values.  More... 
 | 
|  | 
| value_type | get_element (index_type const &idx) const | 
|  | Returns the value of the element specified by the index.  More... 
 | 
|  | 
| future< value_type > | get_element_split (index_type const &idx) | 
|  | Returns a stapl::future holding the value of the element specified by the index.  More... 
 | 
|  | 
| template<typename F > | 
| void | apply_set (gid_type const &gid, F const &f) | 
|  | Applies a function f to the element specified by the GID.  More... 
 | 
|  | 
| template<typename F > | 
| F::result_type | apply_get (gid_type const &gid, F const &f) | 
|  | Applies a function f to the element specified by the GID, and returns the result.  More... 
 | 
|  | 
| template<typename F > | 
| F::result_type | apply_get (gid_type const &gid, F const &f) const | 
|  | Applies a function f to the element specified by the GID, and returns the result.  More... 
 | 
|  | 
|  | 
| void | migrate (gid_type const &gid, location_type destination) | 
|  | Migrates the element specified by the gid to the destination location.  More... 
 | 
|  | 
| size_type | size (void) const | 
|  | Return the number of elements in the container.  More... 
 | 
|  | 
| bool | empty (void) const | 
|  | 
| distribution_type & | distribution (void) | 
|  | 
| distribution_type const  & | distribution (void) const | 
|  | 
| distribution_type * | get_distribution (void) | 
|  | 
| locality_info | locality (gid_type gid) | 
|  | Return locality information about the element specified by the gid.  More... 
 | 
|  | 
| template<typename... Indices> | 
| bool | is_local (Indices const &... i) const | 
|  | Returns true if the element specified by the GID formed from the index components provided is stored on this location, or false otherwise. 
 | 
|  | 
| rmi_handle::reference | get_rmi_handle_reference (void) | 
|  | 
| template<typename DistSpecView > | 
| std::shared_ptr< DistSpecView > | get_spec (DistSpecView const &dist_view, typename std::enable_if< !detail::has_is_composed_dist_spec< DistSpecView >::value >::type *=0) | 
|  | Return a shared_ptr to the distribution specification for this container instance.  More... 
 | 
|  | 
| template<typename ComposedSpec > | 
| std::shared_ptr< typename ComposedSpec::distribution_spec > | get_spec (ComposedSpec const &dist_view, typename std::enable_if< detail::has_is_composed_dist_spec< ComposedSpec >::value >::type *=0) | 
|  | Return a shared_ptr to the distribution specification for this container instance that is part of a composed container instantiation.  More... 
 | 
|  | 
template<typename MD>
class stapl::metadata::flat_container< MD >
Container for metadata used when the number of elements (metadata information) is known at the construction time. 
This container behaves as an array. 
- Template Parameters
- 
  
    | MD | Type of the metadata used to store the metadata information. |