STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes
stapl::metadata::detail::metadata_info< D > Struct Template Reference

Defines a metadata entity that does not store information about locality, instead uses the given distribution (D) to respond to the information requests. More...

Public Member Functions

 metadata_info (distribution_type *dist, size_t id)
 Constructor based on a given distribution and an index of the base container to use to determine the domain. More...
 
location_type location () const
 
affinity_tag affinity () const
 
rmi_handle::reference handle () const
 
loc_qual location_qualifier () const
 
size_t size () const
 
cid_type id () const
 
component_type component () const
 
domain_type domain () const
 

Public Types

typedef D distribution_type
 
typedef distribution_traits< distribution_type >::base_container_type base_container_type
 
typedef base_container_type::domain_type domain_type
 
typedef base_container_type * component_type
 
typedef domain_type::index_type index_type
 
typedef distribution_type::cid_type cid_type
 
typedef metadata_entry< domain_type, component_type, size_t > dom_info_type
 

Public Attributes

distribution_type & m_dist
 
cid_type m_id
 
dom_info_type m_md_entry
 
bool m_md_initialized
 

Detailed Description

template<typename D>
struct stapl::metadata::detail::metadata_info< D >

Defines a metadata entity that does not store information about locality, instead uses the given distribution (D) to respond to the information requests.

This class provides the same interface of metadata_entry.

See also
metadata_entry.

Constructor & Destructor Documentation

◆ metadata_info()

template<typename D>
stapl::metadata::detail::metadata_info< D >::metadata_info ( distribution_type *  dist,
size_t  id 
)

Constructor based on a given distribution and an index of the base container to use to determine the domain.

Parameters
distContainer's distribution.
idIndex of the base container to use.

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