xtensor
Loading...
Searching...
No Matches
xt::xbounded_iterator< It, BIt > Class Template Reference
Inheritance diagram for xt::xbounded_iterator< It, BIt >:

Public Types

using self_type = xbounded_iterator<It, BIt>
 
using subiterator_type = It
 
using bound_iterator_type = BIt
 
using value_type = typename std::iterator_traits<It>::value_type
 
using reference = typename std::iterator_traits<It>::reference
 
using pointer = typename std::iterator_traits<It>::pointer
 
using difference_type = typename std::iterator_traits<It>::difference_type
 
using iterator_category = std::random_access_iterator_tag
 

Public Member Functions

 xbounded_iterator (It it, BIt bound_it)
 
self_typeoperator++ ()
 
self_typeoperator-- ()
 
self_typeoperator+= (difference_type n)
 
self_typeoperator-= (difference_type n)
 
difference_type operator- (const self_type &rhs) const
 
value_type operator* () const
 
bool equal (const self_type &rhs) const
 
bool less_than (const self_type &rhs) const
 

Detailed Description

template<class It, class BIt>
class xt::xbounded_iterator< It, BIt >

Definition at line 356 of file xiterator.hpp.

Member Typedef Documentation

◆ bound_iterator_type

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::bound_iterator_type = BIt

Definition at line 368 of file xiterator.hpp.

◆ difference_type

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::difference_type = typename std::iterator_traits<It>::difference_type

Definition at line 372 of file xiterator.hpp.

◆ iterator_category

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::iterator_category = std::random_access_iterator_tag

Definition at line 373 of file xiterator.hpp.

◆ pointer

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::pointer = typename std::iterator_traits<It>::pointer

Definition at line 371 of file xiterator.hpp.

◆ reference

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::reference = typename std::iterator_traits<It>::reference

Definition at line 370 of file xiterator.hpp.

◆ self_type

Definition at line 365 of file xiterator.hpp.

◆ subiterator_type

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::subiterator_type = It

Definition at line 367 of file xiterator.hpp.

◆ value_type

template<class It , class BIt >
using xt::xbounded_iterator< It, BIt >::value_type = typename std::iterator_traits<It>::value_type

Definition at line 369 of file xiterator.hpp.

Constructor & Destructor Documentation

◆ xbounded_iterator()

template<class It , class BIt >
xt::xbounded_iterator< It, BIt >::xbounded_iterator ( It it,
BIt bound_it )

Definition at line 1227 of file xiterator.hpp.

Member Function Documentation

◆ equal()

template<class It , class BIt >
bool xt::xbounded_iterator< It, BIt >::equal ( const self_type & rhs) const
inline

Definition at line 1279 of file xiterator.hpp.

◆ less_than()

template<class It , class BIt >
bool xt::xbounded_iterator< It, BIt >::less_than ( const self_type & rhs) const
inline

Definition at line 1285 of file xiterator.hpp.

◆ operator*()

template<class It , class BIt >
auto xt::xbounded_iterator< It, BIt >::operator* ( ) const
inline

Definition at line 1272 of file xiterator.hpp.

◆ operator++()

template<class It , class BIt >
auto xt::xbounded_iterator< It, BIt >::operator++ ( )
inline

Definition at line 1234 of file xiterator.hpp.

◆ operator+=()

template<class It , class BIt >
auto xt::xbounded_iterator< It, BIt >::operator+= ( difference_type n)
inline

Definition at line 1250 of file xiterator.hpp.

◆ operator-()

template<class It , class BIt >
auto xt::xbounded_iterator< It, BIt >::operator- ( const self_type & rhs) const
inline

Definition at line 1266 of file xiterator.hpp.

◆ operator--()

template<class It , class BIt >
auto xt::xbounded_iterator< It, BIt >::operator-- ( )
inline

Definition at line 1242 of file xiterator.hpp.

◆ operator-=()

template<class It , class BIt >
auto xt::xbounded_iterator< It, BIt >::operator-= ( difference_type n)
inline

Definition at line 1258 of file xiterator.hpp.


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