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

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

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

Public Types

typedef T & reference
 
typedef T const & const_reference
 
typedef value_type const * pointer
 

Public Member Functions

 one_hot_iterator ()
 
 one_hot_iterator (size_type index, value_type value, bool isEnd)
 
one_hot_iteratoroperator++ ()
 
one_hot_iteratoroperator-- ()
 
reference operator* () const
 
size_type index () const
 
one_hot_iteratoroperator= (one_hot_iterator const &it)
 
bool operator== (one_hot_iterator const &it) const
 
- Public Member Functions inherited from remora::iterators::bidirectional_iterator_base< one_hot_iterator< T >, T >
derived_iterator_type operator++ (int)
 
derived_iterator_type operator-- (int)
 
bool operator!= (const derived_iterator_type &it) const
 

Detailed Description

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

Definition at line 746 of file iterator.hpp.

Member Typedef Documentation

◆ const_reference

template<class T >
typedef T const& remora::iterators::one_hot_iterator< T >::const_reference

Definition at line 752 of file iterator.hpp.

◆ pointer

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

Definition at line 753 of file iterator.hpp.

◆ reference

template<class T >
typedef T& remora::iterators::one_hot_iterator< T >::reference

Definition at line 751 of file iterator.hpp.

Constructor & Destructor Documentation

◆ one_hot_iterator() [1/2]

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

Definition at line 756 of file iterator.hpp.

◆ one_hot_iterator() [2/2]

template<class T >
remora::iterators::one_hot_iterator< T >::one_hot_iterator ( size_type  index,
value_type  value,
bool  isEnd 
)
inline

Definition at line 757 of file iterator.hpp.

Member Function Documentation

◆ index()

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

Definition at line 776 of file iterator.hpp.

◆ operator*()

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

Definition at line 771 of file iterator.hpp.

◆ operator++()

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

Definition at line 761 of file iterator.hpp.

◆ operator--()

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

Definition at line 765 of file iterator.hpp.

◆ operator=()

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

Definition at line 781 of file iterator.hpp.

◆ operator==()

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

Definition at line 788 of file iterator.hpp.


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