|
| zip_view (Views... vs) |
|
| zip_view (container_t *vcont, domain_type const &dom, map_func_type mfunc=map_func_type()) |
|
| zip_view (container_t const &vcont, domain_type const &dom, map_func_type mfunc=map_func_type()) |
|
| zip_view (container_t const &vcont, domain_type const &dom, map_func_type mfunc, zip_view const &) |
|
bool | is_valid (void) const |
|
view_container_type * | get_container (void) const |
|
view_container_type & | container (void) |
|
view_container_type & | container (void) const |
|
domain_type const & | domain (void) const |
|
domain_type & | domain (void) |
|
void | set_domain (domain_type const &dom) |
|
map_func_type const & | mapfunc (void) const |
|
size_type | size (void) const |
| Returns the number of elements referenced for the view.
|
|
bool | empty (void) const |
| Returns true if the view does not reference any element.
|
|
|
value_type | get_element (index_t const &index) const |
| Get the element index from the container. More...
|
|
future< value_type > | get_element_split (index_t const &index) const |
| Get the element index from the container. More...
|
|
template<class Functor > |
Functor::result_type | apply_get (index_t const &index, Functor f) |
| Applies the provided function to the value referenced for the given index and returns the result of the operation. More...
|
|
template<class Functor > |
Functor::result_type | apply_get (index_t const &index, Functor f) const |
| Applies the provided function to the value referenced for the given index and returns the result of the operation. More...
|
|
|
void | set_element (index_t const &index, value_t const &value) |
| Set the element index in the container to value value . More...
|
|
template<class Functor > |
void | apply_set (index_t const &index, Functor f) |
| Applies the provided function to the value referenced for the given index and mutates the element with the resulting value. More...
|
|
|
reference_t | operator[] (index_t const &index) const |
| The bracket operator is the basic access method.
|
|
reference_t | make_reference (index_t const &index) const |
|
|
- Warning
- Methods in the Sequence Iterator group should only be used inside a work function which is processing a segmented view.
|
iterator | begin (void) |
|
const_iterator | begin (void) const |
|
iterator | end (void) |
|
const_iterator | end (void) const |
|
iterator | make_iterator (index_t i) |
|
index_t | next (index_t const &index) const |
| Computes the next index based on the given index . More...
|
|
index_t | prev (index_t const &index) const |
| Computes the previous index based on the given index . More...
|
|
index_t | advance (index_t const &index, Distance n) const |
| Computes the new index after advance n positions from the given index . More...
|
|
long | distance (index_t const &index1, index_t const &index2) const |
|
bool | less_than (index_t const &index1, index_t const &index2) const |
|
template<typename... Views>
class stapl::zip_view< Views >
Defines a one dimensional view over a zipped set of views.