Defines a container that exposes the view's domain as a container.
More...
|
| domain_container (View const &vw) |
|
View & | view (void) |
|
distribution_type & | distribution (void) |
|
reference | operator[] (index_type index) const |
|
value_type | get_element (index_type index) const |
|
template<typename F > |
value_type | apply_get (gid_type const &index, F const &f) |
| Applies the provided function the the value referenced for the given index returning the resulting value. More...
|
|
size_t | size (void) const |
|
domain_type | domain (void) const |
|
|
typedef View::index_type | value_type |
|
typedef value_type | reference |
|
typedef const value_type | const_reference |
|
typedef View::domain_type | domain_type |
|
typedef domain_type::index_type | index_type |
|
typedef index_type | gid_type |
|
typedef domain_container_distribution< domain_container > | distribution_type |
|
typedef metadata::domain_container_extractor< domain_container > | loc_dist_metadata |
|
typedef View | view_type |
|
template<typename View>
struct stapl::view_impl::domain_container< View >
Defines a container that exposes the view's domain as a container.
- Template Parameters
-
View | type used to define the domain to use |
◆ apply_get()
template<typename View >
template<typename F >
Applies the provided function the the value referenced for the given index returning the resulting value.
- Parameters
-
index | of element to apply the function |
f | function to apply |
- Returns
- result of evaluating the function
f
on the value referenced for the index
The documentation for this struct was generated from the following file: