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::localized_member_iterator< BaseIterator, ParentAccessor > Class Template Reference

Defines an iterator used to reference data member elements directly through a pointer. More...

Public Member Functions

 localized_member_iterator (BaseIterator iter, ParentAccessor const &)
 
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::localized_member_iterator< BaseIterator, ParentAccessor >

Defines an iterator used to reference data member elements directly through a pointer.

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

Template Parameters
BaseIteratorLocal iterator type.
ParentAccessorAccessor used to forward the method invocations.
Note
This iterator is used to point to local elements.

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