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

Definition of the iterator used for the View. More...

Public Member Functions

 const_index_iterator (View const &view, index_type index)
 Constructs an iterator over the given view at position index.
 
index_type index ()
 
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 View::domain_type domain_type
 
typedef domain_type::gid_type gid_type
 
typedef View::index_type index_type
 
typedef detail::const_index_accessor< View > accessor_t
 
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 iterator_core_access
 

Detailed Description

template<typename View, typename Category = std::forward_iterator_tag>
class stapl::const_index_iterator< View, Category >

Definition of the iterator used for the View.

The reference type associated with this iterator is a proxy over the view's value type.


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