STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::view_operations::paragraph_required_operation< Derived > Class Template Reference

Defines the operations expected by the PARAGRAPH during task creation. More...

Public Member Functions

size_t get_num_subviews () const
 Returns the number of elements referenced by the view. More...
 
size_t get_num_local_subviews () const
 Returns the number of elements stored locally, referenced for the view.
 
value_t get_subview (cid_type const &i) const
 Returns the element associated with the position i. More...
 
cid_type get_local_vid (cid_type const &index) const
 Returns the global index of the given local index.
 

Public Types

typedef view_traits< Derived >::index_type cid_type
 

Detailed Description

template<typename Derived>
class stapl::view_operations::paragraph_required_operation< Derived >

Defines the operations expected by the PARAGRAPH during task creation.

Member Function Documentation

◆ get_num_subviews()

template<typename Derived>
size_t stapl::view_operations::paragraph_required_operation< Derived >::get_num_subviews ( ) const

Returns the number of elements referenced by the view.

◆ get_subview()

template<typename Derived>
value_t stapl::view_operations::paragraph_required_operation< Derived >::get_subview ( cid_type const &  i) const

Returns the element associated with the position i.


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