STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Friends
stapl::metadata_entry< Domain, Container, CID > Struct Template Reference

Defines the metadata entry that is used as value_type of a coarsen metadata container (e.g. metadata::growable_container). More...

Public Member Functions

 metadata_entry (cid_type id, domain_type const &dom, component_type sc, loc_qual qualifier, affinity_tag affinity, rmi_handle::reference const &handle, location_type location)
 
Domain domain () const
 Return a copy of the domain that this metadata entry represents. More...
 
Container const & component () const
 
rmi_handle::reference handle () const
 
location_type location () const
 
affinity_tag affinity () const
 
void set_id (CID id)
 
template<typename OtherCid >
void set_id (OtherCid id)
 The component ids passed do not match the component id specified at the instantiation in some cases. This method works around that temporarily and will be removed. More...
 
CID id () const
 
loc_qual location_qualifier () const
 Returns the qualifier associated with the stored location. More...
 
size_t size () const
 
bool is_info_set () const
 Returns True if the stored information is valid, because it was created by given properly values.
 
void set_domain (Domain const &dom)
 

Public Types

typedef size_t delay_type
 used to delay template instantiation of prefix_scan in metadata::growable_container.
 
typedef Domain::gid_type index_type
 
typedef Domain domain_type
 
typedef Container component_type
 
typedef CID cid_type
 

Friends

std::ostream & operator<< (std::ostream &os, metadata_entry< Domain, Container, CID > const &entry)
 

Detailed Description

template<typename Domain, typename Container, typename CID = typename std::remove_pointer<Container>::type::cid_type>
struct stapl::metadata_entry< Domain, Container, CID >

Defines the metadata entry that is used as value_type of a coarsen metadata container (e.g. metadata::growable_container).

The stored information about a domain, which base container contains the elements referenced by the domain and the location where the base container is stored. In cases where the given domain references elements that are in more than one base container, the referenced base container is considered invalid (NULL).

Member Function Documentation

◆ domain()

template<typename Domain, typename Container, typename CID = typename std::remove_pointer<Container>::type::cid_type>
Domain stapl::metadata_entry< Domain, Container, CID >::domain ( ) const

Return a copy of the domain that this metadata entry represents.

◆ set_id()

template<typename Domain, typename Container, typename CID = typename std::remove_pointer<Container>::type::cid_type>
template<typename OtherCid >
void stapl::metadata_entry< Domain, Container, CID >::set_id ( OtherCid  id)

The component ids passed do not match the component id specified at the instantiation in some cases. This method works around that temporarily and will be removed.

◆ location_qualifier()

template<typename Domain, typename Container, typename CID = typename std::remove_pointer<Container>::type::cid_type>
loc_qual stapl::metadata_entry< Domain, Container, CID >::location_qualifier ( ) const

Returns the qualifier associated with the stored location.


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