STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::metadata::slices_projection< View, P > Class 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. More...

Public Member Functions

return_type operator() (View *view, lower_md_cont_type *part, bool part_is_fixed=true) const
 Project the metadata entries extracted from the underlying multidimensional container into the domain of the slices_segmented_view. More...
 

Public Types

typedef metadata_entry< domain_type, component_type, index_type > md_entry_type
 
typedef detail::select_container_type< md_entry_type, dim >::type md_cont_type
 
typedef std::pair< bool, md_cont_type * > return_type
 

Detailed Description

template<typename View, typename P>
class stapl::metadata::slices_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.

This helper functor is invoked when the given View is a slices_segmented_view.

Member Function Documentation

◆ operator()()

template<typename View , typename P >
return_type stapl::metadata::slices_projection< View, P >::operator() ( View *  view,
lower_md_cont_type *  part,
bool  part_is_fixed = true 
) const

Project the metadata entries extracted from the underlying multidimensional container into the domain of the slices_segmented_view.

Parameters
viewThe target view
partContainer of extracted metadata entries
part_is_fixedIndicates if part container is fixed-size

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