remora::iterators::subrange_iterator< BaseIterator > Class Template Reference

#include <shark/LinAlg/BLAS/cpu/iterator.hpp>

+ Inheritance diagram for remora::iterators::subrange_iterator< BaseIterator >:

Public Types

typedef BaseIterator::reference reference
 
typedef BaseIterator::pointer pointer
 

Public Member Functions

 subrange_iterator ()
 
 subrange_iterator (BaseIterator const &it, BaseIterator const &end, std::size_t startIterIndex, std::size_t startIndex)
 
 subrange_iterator (BaseIterator const &it, std::size_t startIndex)
 
template<class Iterator >
 subrange_iterator (subrange_iterator< Iterator > const &it)
 
subrange_iteratoroperator++ ()
 
subrange_iteratoroperator-- ()
 
subrange_iteratoroperator+= (difference_type n)
 
subrange_iteratoroperator-= (difference_type n)
 
difference_type operator- (subrange_iterator const &it) const
 
reference operator* () const
 
reference operator[] (difference_type n) const
 
std::size_t index () const
 
template<class Iterator >
subrange_iteratoroperator= (subrange_iterator< Iterator > const &it)
 
template<class Iterator >
bool operator== (subrange_iterator< Iterator > const &it) const
 
template<class Iterator >
bool operator< (subrange_iterator< Iterator > const &it) const
 
BaseIterator inner () const
 

Friends

template<class >
class subrange_iterator
 

Detailed Description

template<class BaseIterator>
class remora::iterators::subrange_iterator< BaseIterator >

Definition at line 479 of file iterator.hpp.

Member Typedef Documentation

◆ pointer

template<class BaseIterator>
typedef BaseIterator::pointer remora::iterators::subrange_iterator< BaseIterator >::pointer

Definition at line 518 of file iterator.hpp.

◆ reference

template<class BaseIterator>
typedef BaseIterator::reference remora::iterators::subrange_iterator< BaseIterator >::reference

Definition at line 517 of file iterator.hpp.

Constructor & Destructor Documentation

◆ subrange_iterator() [1/4]

template<class BaseIterator>
remora::iterators::subrange_iterator< BaseIterator >::subrange_iterator ( )
inline

Definition at line 521 of file iterator.hpp.

◆ subrange_iterator() [2/4]

template<class BaseIterator>
remora::iterators::subrange_iterator< BaseIterator >::subrange_iterator ( BaseIterator const &  it,
BaseIterator const &  end,
std::size_t  startIterIndex,
std::size_t  startIndex 
)
inline

Definition at line 523 of file iterator.hpp.

◆ subrange_iterator() [3/4]

template<class BaseIterator>
remora::iterators::subrange_iterator< BaseIterator >::subrange_iterator ( BaseIterator const &  it,
std::size_t  startIndex 
)
inline

Definition at line 526 of file iterator.hpp.

◆ subrange_iterator() [4/4]

template<class BaseIterator>
template<class Iterator >
remora::iterators::subrange_iterator< BaseIterator >::subrange_iterator ( subrange_iterator< Iterator > const &  it)
inline

Definition at line 530 of file iterator.hpp.

Member Function Documentation

◆ index()

template<class BaseIterator>
std::size_t remora::iterators::subrange_iterator< BaseIterator >::index ( ) const
inline

Definition at line 567 of file iterator.hpp.

◆ inner()

template<class BaseIterator>
BaseIterator remora::iterators::subrange_iterator< BaseIterator >::inner ( ) const
inline

Definition at line 589 of file iterator.hpp.

◆ operator*()

template<class BaseIterator>
reference remora::iterators::subrange_iterator< BaseIterator >::operator* ( ) const
inline

Definition at line 559 of file iterator.hpp.

◆ operator++()

template<class BaseIterator>
subrange_iterator& remora::iterators::subrange_iterator< BaseIterator >::operator++ ( )
inline

Definition at line 534 of file iterator.hpp.

◆ operator+=()

template<class BaseIterator>
subrange_iterator& remora::iterators::subrange_iterator< BaseIterator >::operator+= ( difference_type  n)
inline

Definition at line 544 of file iterator.hpp.

◆ operator-()

template<class BaseIterator>
difference_type remora::iterators::subrange_iterator< BaseIterator >::operator- ( subrange_iterator< BaseIterator > const &  it) const
inline

Definition at line 554 of file iterator.hpp.

◆ operator--()

template<class BaseIterator>
subrange_iterator& remora::iterators::subrange_iterator< BaseIterator >::operator-- ( )
inline

Definition at line 539 of file iterator.hpp.

◆ operator-=()

template<class BaseIterator>
subrange_iterator& remora::iterators::subrange_iterator< BaseIterator >::operator-= ( difference_type  n)
inline

Definition at line 549 of file iterator.hpp.

◆ operator<()

template<class BaseIterator>
template<class Iterator >
bool remora::iterators::subrange_iterator< BaseIterator >::operator< ( subrange_iterator< Iterator > const &  it) const
inline

Definition at line 585 of file iterator.hpp.

◆ operator=()

template<class BaseIterator>
template<class Iterator >
subrange_iterator& remora::iterators::subrange_iterator< BaseIterator >::operator= ( subrange_iterator< Iterator > const &  it)
inline

Definition at line 573 of file iterator.hpp.

◆ operator==()

template<class BaseIterator>
template<class Iterator >
bool remora::iterators::subrange_iterator< BaseIterator >::operator== ( subrange_iterator< Iterator > const &  it) const
inline

Definition at line 581 of file iterator.hpp.

◆ operator[]()

template<class BaseIterator>
reference remora::iterators::subrange_iterator< BaseIterator >::operator[] ( difference_type  n) const
inline

Definition at line 562 of file iterator.hpp.

Friends And Related Function Documentation

◆ subrange_iterator

template<class BaseIterator>
template<class >
friend class subrange_iterator
friend

Definition at line 596 of file iterator.hpp.


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