STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::metadata::generator_container< MD > Class Template Reference

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
 

Detailed Description

template<typename MD>
class stapl::metadata::generator_container< MD >

Metadata container to create metadata information on demand using a balance partition of the view's domain to determine the metadata information.

Template Parameters
MDType of the metadata used to represent the metadata information.

Member Function Documentation

◆ get_local_vid()

template<typename MD >
index_type stapl::metadata::generator_container< MD >::get_local_vid ( index_type const &  )

◆ push_back_here()

template<typename MD >
template<typename T >
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.

◆ local_size()

template<typename MD >
size_t stapl::metadata::generator_container< MD >::local_size ( void  ) const

Returns the number of local elements (number of elements in the base container).

◆ get_location_element()

template<typename MD >
location_type stapl::metadata::generator_container< MD >::get_location_element ( index_type const &  ) const

◆ update()

template<typename MD >
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


The documentation for this class was generated from the following file: