remora::iterators::transform_iterator< BaseIterator, F > Class Template Reference

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

+ Inheritance diagram for remora::iterators::transform_iterator< BaseIterator, F >:

Public Types

typedef BaseIterator::iterator_category iterator_category
 
typedef value_type reference
 
typedef value_type * pointer
 

Public Member Functions

 transform_iterator ()
 
 transform_iterator (BaseIterator const &it, F functor)
 
transform_iteratoroperator++ ()
 
transform_iteratoroperator-- ()
 
transform_iteratoroperator+= (difference_type n)
 
transform_iteratoroperator-= (difference_type n)
 
difference_type operator- (transform_iterator const &it) const
 
reference operator* () const
 
reference operator[] (difference_type n) const
 
size_type index () const
 
template<class Iter >
transform_iteratoroperator= (transform_iterator< Iter, F > const &it)
 
bool operator== (transform_iterator const &it) const
 
bool operator< (transform_iterator const &it) const
 

Detailed Description

template<class BaseIterator, class F>
class remora::iterators::transform_iterator< BaseIterator, F >

Definition at line 674 of file iterator.hpp.

Member Typedef Documentation

◆ iterator_category

template<class BaseIterator, class F>
typedef BaseIterator::iterator_category remora::iterators::transform_iterator< BaseIterator, F >::iterator_category

Definition at line 678 of file iterator.hpp.

◆ pointer

template<class BaseIterator, class F>
typedef value_type* remora::iterators::transform_iterator< BaseIterator, F >::pointer

Definition at line 683 of file iterator.hpp.

◆ reference

template<class BaseIterator, class F>
typedef value_type remora::iterators::transform_iterator< BaseIterator, F >::reference

Definition at line 682 of file iterator.hpp.

Constructor & Destructor Documentation

◆ transform_iterator() [1/2]

template<class BaseIterator, class F>
remora::iterators::transform_iterator< BaseIterator, F >::transform_iterator ( )
inline

Definition at line 686 of file iterator.hpp.

◆ transform_iterator() [2/2]

template<class BaseIterator, class F>
remora::iterators::transform_iterator< BaseIterator, F >::transform_iterator ( BaseIterator const &  it,
functor 
)
inline

Definition at line 687 of file iterator.hpp.

Member Function Documentation

◆ index()

template<class BaseIterator, class F>
size_type remora::iterators::transform_iterator< BaseIterator, F >::index ( ) const
inline

Definition at line 720 of file iterator.hpp.

◆ operator*()

template<class BaseIterator, class F>
reference remora::iterators::transform_iterator< BaseIterator, F >::operator* ( ) const
inline

Definition at line 712 of file iterator.hpp.

◆ operator++()

template<class BaseIterator, class F>
transform_iterator& remora::iterators::transform_iterator< BaseIterator, F >::operator++ ( )
inline

Definition at line 691 of file iterator.hpp.

◆ operator+=()

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

Definition at line 699 of file iterator.hpp.

◆ operator-()

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

Definition at line 707 of file iterator.hpp.

◆ operator--()

template<class BaseIterator, class F>
transform_iterator& remora::iterators::transform_iterator< BaseIterator, F >::operator-- ( )
inline

Definition at line 695 of file iterator.hpp.

◆ operator-=()

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

Definition at line 703 of file iterator.hpp.

◆ operator<()

template<class BaseIterator, class F>
bool remora::iterators::transform_iterator< BaseIterator, F >::operator< ( transform_iterator< BaseIterator, F > const &  it) const
inline

Definition at line 736 of file iterator.hpp.

◆ operator=()

template<class BaseIterator, class F>
template<class Iter >
transform_iterator& remora::iterators::transform_iterator< BaseIterator, F >::operator= ( transform_iterator< Iter, F > const &  it)
inline

Definition at line 726 of file iterator.hpp.

◆ operator==()

template<class BaseIterator, class F>
bool remora::iterators::transform_iterator< BaseIterator, F >::operator== ( transform_iterator< BaseIterator, F > const &  it) const
inline

Definition at line 733 of file iterator.hpp.

◆ operator[]()

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

Definition at line 715 of file iterator.hpp.


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