xtensor
Loading...
Searching...
No Matches
xt::xmultiindex_iterator< S > Class Template Reference

Public Types

using self_type = xmultiindex_iterator<S>
 
using shape_type = S
 
using value_type = shape_type
 
using reference = value_type&
 
using pointer = value_type*
 
using difference_type = std::size_t
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

template<class B , class E , class C >
 xmultiindex_iterator (B &&begin, E &&end, C &&current, const std::size_t linear_index)
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
shape_typeoperator* ()
 
const shape_typeoperator* () const
 
bool operator== (const self_type &rhs) const
 
bool operator!= (const self_type &rhs) const
 

Detailed Description

template<class S>
class xt::xmultiindex_iterator< S >

Definition at line 20 of file xmultiindex_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<class S >
using xt::xmultiindex_iterator< S >::difference_type = std::size_t

Definition at line 30 of file xmultiindex_iterator.hpp.

◆ iterator_category

template<class S >
using xt::xmultiindex_iterator< S >::iterator_category = std::forward_iterator_tag

Definition at line 31 of file xmultiindex_iterator.hpp.

◆ pointer

template<class S >
using xt::xmultiindex_iterator< S >::pointer = value_type*

Definition at line 29 of file xmultiindex_iterator.hpp.

◆ reference

template<class S >
using xt::xmultiindex_iterator< S >::reference = value_type&

Definition at line 28 of file xmultiindex_iterator.hpp.

◆ self_type

Definition at line 24 of file xmultiindex_iterator.hpp.

◆ shape_type

template<class S >
using xt::xmultiindex_iterator< S >::shape_type = S

Definition at line 25 of file xmultiindex_iterator.hpp.

◆ value_type

template<class S >
using xt::xmultiindex_iterator< S >::value_type = shape_type

Definition at line 27 of file xmultiindex_iterator.hpp.

Constructor & Destructor Documentation

◆ xmultiindex_iterator()

template<class S >
template<class B , class E , class C >
xt::xmultiindex_iterator< S >::xmultiindex_iterator ( B && begin,
E && end,
C && current,
const std::size_t linear_index )
inline

Definition at line 36 of file xmultiindex_iterator.hpp.

Member Function Documentation

◆ operator!=()

template<class S >
bool xt::xmultiindex_iterator< S >::operator!= ( const self_type & rhs) const
inline

Definition at line 86 of file xmultiindex_iterator.hpp.

◆ operator*() [1/2]

template<class S >
shape_type & xt::xmultiindex_iterator< S >::operator* ( )
inline

Definition at line 71 of file xmultiindex_iterator.hpp.

◆ operator*() [2/2]

template<class S >
const shape_type & xt::xmultiindex_iterator< S >::operator* ( ) const
inline

Definition at line 76 of file xmultiindex_iterator.hpp.

◆ operator++() [1/2]

template<class S >
self_type & xt::xmultiindex_iterator< S >::operator++ ( )
inline

Definition at line 44 of file xmultiindex_iterator.hpp.

◆ operator++() [2/2]

template<class S >
self_type xt::xmultiindex_iterator< S >::operator++ ( int )
inline

Definition at line 64 of file xmultiindex_iterator.hpp.

◆ operator==()

template<class S >
bool xt::xmultiindex_iterator< S >::operator== ( const self_type & rhs) const
inline

Definition at line 81 of file xmultiindex_iterator.hpp.


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