cgv
Loading...
Searching...
No Matches
cgv::math::step_iterator< RandomAccessIterator > Struct Template Reference

Public Types

typedef RandomAccessIterator base_type
 
typedef base_type::pointer pointer
 
typedef base_type::reference reference
 
typedef base_type::value_type value_type
 
typedef base_type::difference_type difference_type
 
typedef base_type::iterator_category iterator_category
 

Public Member Functions

 step_iterator (const step_iterator &other)
 
step_iteratoroperator= (const step_iterator &other)
 
bool operator== (const step_iterator &other) const
 
bool operator!= (const step_iterator &other) const
 
reference operator* ()
 
reference operator* () const
 
pointer operator-> ()
 
pointer operator-> () const
 
step_iteratoroperator++ ()
 
step_iterator operator++ (int)
 
step_iteratoroperator-- ()
 
step_iterator operator-- (int)
 
step_iteratoroperator+= (difference_type n)
 
step_iteratoroperator-= (difference_type n)
 
step_iterator operator- (difference_type n) const
 
difference_type operator- (const step_iterator &right) const
 
step_iterator operator+ (difference_type n) const
 
reference operator[] (difference_type offset) const
 
bool operator< (const step_iterator &other) const
 
bool operator> (const step_iterator &other) const
 
bool operator<= (const step_iterator &other) const
 
bool operator>= (const step_iterator &other) const
 

Friends

class mat< value_type >
 

Detailed Description

template<typename RandomAccessIterator>
struct cgv::math::step_iterator< RandomAccessIterator >

Definition at line 19 of file mat.h.

Member Typedef Documentation

◆ base_type

template<typename RandomAccessIterator >
typedef RandomAccessIterator cgv::math::step_iterator< RandomAccessIterator >::base_type

Definition at line 22 of file mat.h.

◆ difference_type

template<typename RandomAccessIterator >
typedef base_type::difference_type cgv::math::step_iterator< RandomAccessIterator >::difference_type

Definition at line 26 of file mat.h.

◆ iterator_category

template<typename RandomAccessIterator >
typedef base_type::iterator_category cgv::math::step_iterator< RandomAccessIterator >::iterator_category

Definition at line 27 of file mat.h.

◆ pointer

template<typename RandomAccessIterator >
typedef base_type::pointer cgv::math::step_iterator< RandomAccessIterator >::pointer

Definition at line 23 of file mat.h.

◆ reference

template<typename RandomAccessIterator >
typedef base_type::reference cgv::math::step_iterator< RandomAccessIterator >::reference

Definition at line 24 of file mat.h.

◆ value_type

template<typename RandomAccessIterator >
typedef base_type::value_type cgv::math::step_iterator< RandomAccessIterator >::value_type

Definition at line 25 of file mat.h.

Constructor & Destructor Documentation

◆ step_iterator() [1/2]

template<typename RandomAccessIterator >
cgv::math::step_iterator< RandomAccessIterator >::step_iterator ( )
inline

Definition at line 42 of file mat.h.

◆ step_iterator() [2/2]

template<typename RandomAccessIterator >
cgv::math::step_iterator< RandomAccessIterator >::step_iterator ( const step_iterator< RandomAccessIterator > &  other)
inline

Definition at line 47 of file mat.h.

Member Function Documentation

◆ operator!=()

template<typename RandomAccessIterator >
bool cgv::math::step_iterator< RandomAccessIterator >::operator!= ( const step_iterator< RandomAccessIterator > &  other) const
inline

Definition at line 68 of file mat.h.

◆ operator*() [1/2]

template<typename RandomAccessIterator >
reference cgv::math::step_iterator< RandomAccessIterator >::operator* ( )
inline

Definition at line 73 of file mat.h.

◆ operator*() [2/2]

template<typename RandomAccessIterator >
reference cgv::math::step_iterator< RandomAccessIterator >::operator* ( ) const
inline

Definition at line 78 of file mat.h.

◆ operator+()

template<typename RandomAccessIterator >
step_iterator cgv::math::step_iterator< RandomAccessIterator >::operator+ ( difference_type  n) const
inline

Definition at line 145 of file mat.h.

◆ operator++() [1/2]

template<typename RandomAccessIterator >
step_iterator & cgv::math::step_iterator< RandomAccessIterator >::operator++ ( )
inline

Definition at line 92 of file mat.h.

◆ operator++() [2/2]

template<typename RandomAccessIterator >
step_iterator cgv::math::step_iterator< RandomAccessIterator >::operator++ ( int  )
inline

Definition at line 99 of file mat.h.

◆ operator+=()

template<typename RandomAccessIterator >
step_iterator & cgv::math::step_iterator< RandomAccessIterator >::operator+= ( difference_type  n)
inline

Definition at line 120 of file mat.h.

◆ operator-() [1/2]

template<typename RandomAccessIterator >
difference_type cgv::math::step_iterator< RandomAccessIterator >::operator- ( const step_iterator< RandomAccessIterator > &  right) const
inline

Definition at line 139 of file mat.h.

◆ operator-() [2/2]

template<typename RandomAccessIterator >
step_iterator cgv::math::step_iterator< RandomAccessIterator >::operator- ( difference_type  n) const
inline

Definition at line 133 of file mat.h.

◆ operator--() [1/2]

template<typename RandomAccessIterator >
step_iterator & cgv::math::step_iterator< RandomAccessIterator >::operator-- ( )
inline

Definition at line 106 of file mat.h.

◆ operator--() [2/2]

template<typename RandomAccessIterator >
step_iterator cgv::math::step_iterator< RandomAccessIterator >::operator-- ( int  )
inline

Definition at line 111 of file mat.h.

◆ operator-=()

template<typename RandomAccessIterator >
step_iterator & cgv::math::step_iterator< RandomAccessIterator >::operator-= ( difference_type  n)
inline

Definition at line 127 of file mat.h.

◆ operator->() [1/2]

template<typename RandomAccessIterator >
pointer cgv::math::step_iterator< RandomAccessIterator >::operator-> ( )
inline

Definition at line 82 of file mat.h.

◆ operator->() [2/2]

template<typename RandomAccessIterator >
pointer cgv::math::step_iterator< RandomAccessIterator >::operator-> ( ) const
inline

Definition at line 87 of file mat.h.

◆ operator<()

template<typename RandomAccessIterator >
bool cgv::math::step_iterator< RandomAccessIterator >::operator< ( const step_iterator< RandomAccessIterator > &  other) const
inline

Definition at line 157 of file mat.h.

◆ operator<=()

template<typename RandomAccessIterator >
bool cgv::math::step_iterator< RandomAccessIterator >::operator<= ( const step_iterator< RandomAccessIterator > &  other) const
inline

Definition at line 173 of file mat.h.

◆ operator=()

template<typename RandomAccessIterator >
step_iterator & cgv::math::step_iterator< RandomAccessIterator >::operator= ( const step_iterator< RandomAccessIterator > &  other)
inline

Definition at line 53 of file mat.h.

◆ operator==()

template<typename RandomAccessIterator >
bool cgv::math::step_iterator< RandomAccessIterator >::operator== ( const step_iterator< RandomAccessIterator > &  other) const
inline

Definition at line 63 of file mat.h.

◆ operator>()

template<typename RandomAccessIterator >
bool cgv::math::step_iterator< RandomAccessIterator >::operator> ( const step_iterator< RandomAccessIterator > &  other) const
inline

Definition at line 165 of file mat.h.

◆ operator>=()

template<typename RandomAccessIterator >
bool cgv::math::step_iterator< RandomAccessIterator >::operator>= ( const step_iterator< RandomAccessIterator > &  other) const
inline

Definition at line 181 of file mat.h.

◆ operator[]()

template<typename RandomAccessIterator >
reference cgv::math::step_iterator< RandomAccessIterator >::operator[] ( difference_type  offset) const
inline

Definition at line 152 of file mat.h.

Friends And Related Symbol Documentation

◆ mat< value_type >

template<typename RandomAccessIterator >
friend class mat< value_type >
friend

Definition at line 30 of file mat.h.


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