STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Friends
stapl::detail::global_member_iterator< BaseIterator, ParentAccessor > Class Template Reference

Defines an iterator used to reference data member elements through a parent accessor. More...

Public Member Functions

 global_member_iterator (BaseIterator iter, ParentAccessor const &accessor)
 
Derived & derived ()
 
Derived const & derived () const
 
reference operator* () const
 
pointer operator-> ()
 
reference operator[] (int n) const
 
Derived & operator++ ()
 
Derived operator++ (int)
 
Derived & operator-- ()
 
Derived operator-- (int)
 
Derived & operator+= (difference_type n)
 
Derived & operator-= (difference_type n)
 
bool less_than (iterator_facade const &rhs) const
 

Public Types

typedef Category iterator_category
 
typedef std::remove_const< typename Accessor::value_type >::type value_type
 
typedef Difference difference_type
 
typedef stub< value_type, Accessor > pointer
 
typedef referencer_t::result_type reference
 

Friends

class stapl::iterator_core_access
 

Detailed Description

template<typename BaseIterator, typename ParentAccessor>
class stapl::detail::global_member_iterator< BaseIterator, ParentAccessor >

Defines an iterator used to reference data member elements through a parent accessor.

This iterator is used to define the iterator returned for a proxy over stl containers (e.g., std::vector) that are remote.

Template Parameters
BaseIteratorLocal iterator type.
ParentAccessorAccessor used to forward the method invocations.

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