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) |
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).
Domain stapl::metadata_entry< Domain, Container, CID >::domain | ( | ) | const |
Return a copy of the domain that this metadata entry represents.
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.
loc_qual stapl::metadata_entry< Domain, Container, CID >::location_qualifier | ( | ) | const |
Returns the qualifier associated with the stored location.