STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::metadata::implicit_metadata_projection< View, P > Struct Template Reference

Helper functor used to project the domains in the given locality metadata (P) to the domain of the given View. The result is projected metadata locality information, where the metadata is expressed using the view's domain type. More...

Public Member Functions

return_type operator() (View *vw, lower_md_cont_type *part, bool part_is_fixed=true) const
 

Public Types

typedef View::domain_type domain_type
 
typedef View::map_func_type map_func_type
 
typedef std::remove_pointer< typename P::second_type >::type lower_md_cont_type
 
typedef metadata_traits< lower_md_cont_type >::value_type value_type
 
typedef value_type::component_type component_type
 
typedef value_type::cid_type cid_type
 
typedef metadata_entry< domain_type, component_type, cid_type > md_entry_type
 
typedef metadata::growable_container< md_entry_typemd_cont_type
 
typedef std::pair< bool, md_cont_type * > return_type
 

Detailed Description

template<typename View, typename P>
struct stapl::metadata::implicit_metadata_projection< View, P >

Helper functor used to project the domains in the given locality metadata (P) to the domain of the given View. The result is projected metadata locality information, where the metadata is expressed using the view's domain type.

This helper functor is invoked when the given View is not a partitioned view and the container on which it is defined is not a pContainer. The mapping function of the view can be anything at this point.


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