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::const_view_iterator< View > Class Template Reference

Definition of read only iterator used for the segmented_view View. More...

Public Member Functions

 const_view_iterator (View const &view, index_type const &index)
 Constructs an iterator over an element of the given view at position index.
 
 const_view_iterator (View const *view, index_type const &index)
 Constructs an iterator over the given view at position index.
 
reference operator* () const
 
const_view_iteratoroperator= (const_view_iterator const &other)
 
index_type index () const
 
const_view_iteratoroperator++ ()
 
const_view_iterator operator++ (int)
 
const_view_iteratoroperator-- ()
 
const_view_iterator operator-- (int)
 
bool operator!= (const_view_iterator const &it) const
 
bool operator== (const_view_iterator const &it) const
 
template<typename Iterator >
bool operator< (Iterator const &it) const
 
const_view_iterator operator+ (long n) const
 
const_view_iterator operator- (long n) const
 
ptrdiff_t operator- (const_view_iterator const &other) const
 

Public Types

typedef const_view_iterator iterator
 
typedef std::forward_iterator_tag iterator_category
 
typedef view_traits< View >::value_type value_type
 
typedef view_traits< View >::const_reference reference
 
typedef ptrdiff_t difference_type
 
typedef value_type * pointer
 

Friends

bool operator< (const_view_iterator const &c, const_view_iterator const &d)
 

Detailed Description

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

Definition of read only iterator used for the segmented_view View.

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

Member Function Documentation

◆ operator+()

template<typename View >
const_view_iterator stapl::detail::const_view_iterator< View >::operator+ ( long  n) const

◆ operator-()

template<typename View >
const_view_iterator stapl::detail::const_view_iterator< View >::operator- ( long  n) const

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