remora::iterators::constant_iterator< T > Class Template Reference

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

+ Inheritance diagram for remora::iterators::constant_iterator< T >:

Public Types

typedef value_type const & reference
 
typedef value_type const * pointer
 

Public Member Functions

 constant_iterator ()
 
 constant_iterator (value_type value, size_type position)
 
constant_iteratoroperator++ ()
 
constant_iteratoroperator-- ()
 
constant_iteratoroperator+= (difference_type n)
 
constant_iteratoroperator-= (difference_type n)
 
difference_type operator- (constant_iterator const &it) const
 
reference operator* () const
 
reference operator[] (difference_type n) const
 
size_type index () const
 
template<class Iter >
constant_iteratoroperator= (constant_iterator const &it)
 
bool operator== (constant_iterator const &it) const
 
bool operator< (constant_iterator const &it) const
 

Detailed Description

template<class T>
class remora::iterators::constant_iterator< T >

Definition at line 601 of file iterator.hpp.

Member Typedef Documentation

◆ pointer

template<class T >
typedef value_type const* remora::iterators::constant_iterator< T >::pointer

Definition at line 612 of file iterator.hpp.

◆ reference

template<class T >
typedef value_type const& remora::iterators::constant_iterator< T >::reference

Definition at line 611 of file iterator.hpp.

Constructor & Destructor Documentation

◆ constant_iterator() [1/2]

template<class T >
remora::iterators::constant_iterator< T >::constant_iterator ( )
inline

Definition at line 615 of file iterator.hpp.

◆ constant_iterator() [2/2]

template<class T >
remora::iterators::constant_iterator< T >::constant_iterator ( value_type  value,
size_type  position 
)
inline

Definition at line 616 of file iterator.hpp.

Member Function Documentation

◆ index()

template<class T >
size_type remora::iterators::constant_iterator< T >::index ( ) const
inline

Definition at line 649 of file iterator.hpp.

◆ operator*()

template<class T >
reference remora::iterators::constant_iterator< T >::operator* ( ) const
inline

Definition at line 641 of file iterator.hpp.

◆ operator++()

template<class T >
constant_iterator& remora::iterators::constant_iterator< T >::operator++ ( )
inline

Definition at line 620 of file iterator.hpp.

◆ operator+=()

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

Definition at line 628 of file iterator.hpp.

◆ operator-()

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

Definition at line 636 of file iterator.hpp.

◆ operator--()

template<class T >
constant_iterator& remora::iterators::constant_iterator< T >::operator-- ( )
inline

Definition at line 624 of file iterator.hpp.

◆ operator-=()

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

Definition at line 632 of file iterator.hpp.

◆ operator<()

template<class T >
bool remora::iterators::constant_iterator< T >::operator< ( constant_iterator< T > const &  it) const
inline

Definition at line 665 of file iterator.hpp.

◆ operator=()

template<class T >
template<class Iter >
constant_iterator& remora::iterators::constant_iterator< T >::operator= ( constant_iterator< T > const &  it)
inline

Definition at line 655 of file iterator.hpp.

◆ operator==()

template<class T >
bool remora::iterators::constant_iterator< T >::operator== ( constant_iterator< T > const &  it) const
inline

Definition at line 662 of file iterator.hpp.

◆ operator[]()

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

Definition at line 644 of file iterator.hpp.


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