STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Protected Attributes | Friends
stapl::detail::const_index_accessor< View > Class Template Reference

Accessor used to access the element referenced for the given index in the specified view. More...

Public Member Functions

bool is_null (void) const
 
 const_index_accessor (null_reference const &)
 
 const_index_accessor (const_index_accessor const &other)
 
 const_index_accessor (View *view, index_type index)
 
 const_index_accessor (const View *view, index_type const &index)
 
 const_index_accessor (View const &view, index_type const &gid)
 
template<typename F >
F::result_type apply_get (F const &f) const
 
value_type read () const
 
template<typename Class , typename Rtn , typename... Args>
Rtn const_invoke (Rtn(Class::*const pmf)(Args...) const, typename std::decay< Args >::type const &... args) const
 
index_type index (void) const
 

Public Types

typedef view_traits< View >::index_type index_type
 
typedef view_traits< View >::container container
 
typedef view_traits< View >::value_type value_type
 
typedef view_traits< View >::map_function::gid_type gid_type
 

Protected Attributes

container const * m_container
 
gid_type m_index
 

Friends

class accessor_core_access
 

Detailed Description

template<typename View>
class stapl::detail::const_index_accessor< View >

Accessor used to access the element referenced for the given index in the specified view.

The internal representation keeps a reference to the view's container and the referenced index.


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