Defines a view that behaves as the given View
type but has information about data locality specified by the given locality information (Info
).
More...
|
| mix_view (mix_view const &other) |
|
| mix_view (mix_view const &other, typename View::view_container_type *vcont) |
|
| mix_view (typename View::view_container_type *vcont, domain_type const &dom, map_func_type mfunc, index_type const &id, Info const &md_info, std::true_type) |
|
| mix_view (typename View::view_container_type *vcont, domain_type const &dom, map_func_type mfunc, index_type const &id, Info const &md_info, std::false_type=std::false_type()) |
|
| mix_view (View const &vcont, domain_type const &dom, map_func_type mfunc, index_type const &vid, Info const &md_info) |
|
| mix_view (base_type const &base_view, index_type const &vid, Info const &md_info) |
|
component_type * | get_component (void) const |
|
bool | is_local (void) const |
| Determine if the data that this view references is local (if the methods invoked have the the same location as the referenced data). More...
|
|
index_type | get_id (void) const |
|
Info const & | get_metadata (void) const |
|
std::pair< location_type, loc_qual > | get_preferred_location (void) const |
| Returns the location where the associated data is stored, qualified based on the validity of the component. More...
|
|
|
typedef View::domain_type | domain_type |
|
typedef View::map_func_type | map_func_type |
|
typedef std::remove_pointer< typename Info::component_type >::type | component_type |
|
typedef View | base_type |
|
typedef CID | index_type |
|
typedef nfast_view< mix_view > | fast_view_type |
| Defines the type of the resulting view when the base container is used instead of the View's underlying container.
|
|
typedef is_container< typename View::value_type >::type | disable_localization |
|
|
index_type | m_id |
|
Info | m_md_info |
|
template<typename View, typename Info, typename CID>
class stapl::mix_view< View, Info, CID >
Defines a view that behaves as the given View
type but has information about data locality specified by the given locality information (Info
).
- Template Parameters
-
View | Type of view that this view is based on. |
Info | Locality information type. |
CID | Type of the subview index |
◆ is_local()
template<typename View , typename Info , typename CID >
Determine if the data that this view references is local (if the methods invoked have the the same location as the referenced data).
◆ get_preferred_location()
template<typename View , typename Info , typename CID >
Returns the location where the associated data is stored, qualified based on the validity of the component.
The documentation for this class was generated from the following files:
- settable.hpp
- mix_view.hpp