xtensor
Loading...
Searching...
No Matches
xt::xfunctor_iterator< F, IT > Class Template Reference
Inheritance diagram for xt::xfunctor_iterator< F, IT >:

Public Types

using functor_type = F
 
using subiterator_traits = std::iterator_traits<IT>
 
using proxy_inner = xproxy_inner_types<detail::xfunctor_invoker_t<F, IT>>
 
using value_type = typename functor_type::value_type
 
using reference = typename proxy_inner::reference
 
using pointer = typename proxy_inner::pointer
 
using difference_type = typename subiterator_traits::difference_type
 
using iterator_category = typename subiterator_traits::iterator_category
 
using self_type = xfunctor_iterator<F, IT>
 

Public Member Functions

Extended copy semantic
 xfunctor_iterator (const IT &, functor_type *)
 
self_typeoperator++ ()
 
self_typeoperator-- ()
 
self_typeoperator+= (difference_type n)
 
self_typeoperator-= (difference_type n)
 
difference_type operator- (xfunctor_iterator rhs) const
 
reference operator* () const
 
pointer operator-> () const
 
bool equal (const xfunctor_iterator &rhs) const
 
bool less_than (const xfunctor_iterator &rhs) const
 

Detailed Description

template<class F, class IT>
class xt::xfunctor_iterator< F, IT >

Definition at line 574 of file xfunctor_view.hpp.

Member Typedef Documentation

◆ difference_type

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::difference_type = typename subiterator_traits::difference_type

Definition at line 590 of file xfunctor_view.hpp.

◆ functor_type

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::functor_type = F

Definition at line 583 of file xfunctor_view.hpp.

◆ iterator_category

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::iterator_category = typename subiterator_traits::iterator_category

Definition at line 591 of file xfunctor_view.hpp.

◆ pointer

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::pointer = typename proxy_inner::pointer

Definition at line 589 of file xfunctor_view.hpp.

◆ proxy_inner

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::proxy_inner = xproxy_inner_types<detail::xfunctor_invoker_t<F, IT>>

Definition at line 586 of file xfunctor_view.hpp.

◆ reference

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::reference = typename proxy_inner::reference

Definition at line 588 of file xfunctor_view.hpp.

◆ self_type

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::self_type = xfunctor_iterator<F, IT>

Definition at line 593 of file xfunctor_view.hpp.

◆ subiterator_traits

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::subiterator_traits = std::iterator_traits<IT>

Definition at line 584 of file xfunctor_view.hpp.

◆ value_type

template<class F , class IT >
using xt::xfunctor_iterator< F, IT >::value_type = typename functor_type::value_type

Definition at line 587 of file xfunctor_view.hpp.

Constructor & Destructor Documentation

◆ xfunctor_iterator()

template<class F , class IT >
xt::xfunctor_iterator< F, IT >::xfunctor_iterator ( const IT & it,
functor_type * pf )

Definition at line 1508 of file xfunctor_view.hpp.

Member Function Documentation

◆ equal()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::equal ( const xfunctor_iterator< F, IT > & rhs) const

Definition at line 1561 of file xfunctor_view.hpp.

◆ less_than()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::less_than ( const xfunctor_iterator< F, IT > & rhs) const

Definition at line 1567 of file xfunctor_view.hpp.

◆ operator*()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator* ( ) const

Definition at line 1549 of file xfunctor_view.hpp.

◆ operator++()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator++ ( )
inline

Definition at line 1515 of file xfunctor_view.hpp.

◆ operator+=()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator+= ( difference_type n)
inline

Definition at line 1529 of file xfunctor_view.hpp.

◆ operator-()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator- ( xfunctor_iterator< F, IT > rhs) const
inline

Definition at line 1543 of file xfunctor_view.hpp.

◆ operator--()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator-- ( )
inline

Definition at line 1522 of file xfunctor_view.hpp.

◆ operator-=()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator-= ( difference_type n)
inline

Definition at line 1536 of file xfunctor_view.hpp.

◆ operator->()

template<class F , class IT >
auto xt::xfunctor_iterator< F, IT >::operator-> ( ) const

Definition at line 1555 of file xfunctor_view.hpp.


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