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::view_impl::gid_accessor< transform_view< View, Functor > > Class Template Reference

Specialization of gid_accessor over transform_view to allow application of the transformation functor over the element referenced. More...

Public Member Functions

bool is_null (void) const
 
 gid_accessor (null_reference const &)
 
 gid_accessor (gid_accessor const &other)
 
 gid_accessor (view_t *view, index_type gid)
 
 gid_accessor (const view_t *view, index_type const &gid)
 
 gid_accessor (view_t const &view, index_type const &gid)
 
value_type read (void) const
 
template<typename T >
void write (const T &val) const
 
template<typename Class , typename Rtn >
Rtn invoke (Rtn(Class::*memberFuncPtr)(void)) const
 
template<typename Class >
void invoke (void(Class::*memberFuncPtr)(void)) const
 
template<typename Class , typename Arg1 >
void invoke (void(Class::*memberFuncPtr)(Arg1), typename invoke_arg< Arg1 >::type const &arg1) const
 
template<typename Class , typename Arg1 , typename Arg2 >
void invoke (void(Class::*memberFuncPtr)(Arg1, Arg2), typename invoke_arg< Arg1 >::type const &arg1, typename invoke_arg< Arg2 >::type const &arg2) const
 
template<typename Class , typename Rtn >
Rtn const_invoke (Rtn(Class::*const memberFuncPtr)(void) const) const
 
template<typename Class , typename Rtn , typename Arg1 >
Rtn const_invoke (Rtn(Class::*const memberFuncPtr)(Arg1) const, typename invoke_arg< Arg1 >::type const &arg1) const
 
template<typename Class , typename Rtn >
Rtn * invoke (Rtn *(Class::*memberFuncPtr)(void), typename boost::disable_if< is_p_object< Rtn > >::type *dummy=0) const
 

Public Types

typedef transform_view< View, Functor > view_t
 
typedef view_traits< view_t >::index_type index_type
 
typedef view_traits< view_t >::container container
 
typedef view_traits< view_t >::value_type value_type
 
typedef container::gid_type gid_type
 

Protected Attributes

container * m_container
 
gid_type m_gid
 
Functor m_func
 

Friends

template<typename Derived , typename A , typename C , typename R , typename D >
class iterator_facade
 

Detailed Description

template<typename View, typename Functor>
class stapl::view_impl::gid_accessor< transform_view< View, Functor > >

Specialization of gid_accessor over transform_view to allow application of the transformation functor over the element referenced.

Member Function Documentation

◆ read()

template<typename View , typename Functor >
value_type stapl::view_impl::gid_accessor< transform_view< View, Functor > >::read ( void  ) const

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