Returned by map_view as index into a coarsened portion of return value it represents. Typically is all the elements on a given location. Used to facilitate inter-PARAGRAPH data flow. More...
Public Member Functions | |
map_subview (BaseView const &view, idx_t idx) | |
base_sv_t const & | container (void) const |
Return a reference to the underlying container. More... | |
bool | reusable (void) const |
Interface used by find_result_storage to detect if the underlying storage can be transparently reclaimed and mutated (if the task holding the view is the only remaining consumer of the underlying data container). | |
bool | is_local (void) const |
Required interface for PARAGRAPH localization. Unconditionally returns true as view is created on consuming PARAGRAPH location. | |
iterator | begin (void) const |
Return an iterator to the first element of the view. | |
iterator | end (void) const |
Return an iterator to the end (one past the last element) of the view. | |
value_type & | operator[] (size_t idx) const |
Return a reference to the value in the underlying container at index idx . | |
size_t | size (void) const |
The number of elements this view references. | |
Public Types | |
typedef void | deferred_evaluation_view_ |
Informs PARAGRAPH that values the view refers to may not be available yet so that it can create notifications to defer execution as needed. | |
typedef base_sv_t::const_reference | reference |
typedef base_sv_t::const_iterator | iterator |
typedef base_sv_t::value_type | value_type |
typedef map_subview | fast_view_type |
Returned by map_view as index into a coarsened portion of return value it represents. Typically is all the elements on a given location. Used to facilitate inter-PARAGRAPH data flow.
BaseView | The underlying view type. In current usage, always an instance of class template result_view. |
base_sv_t const& stapl::composition::map_subview< BaseView >::container | ( | void | ) | const |
Return a reference to the underlying container.
Used by find_result_storage if reusable
returns true.