xtensor
Loading...
Searching...
No Matches
xt::xchunk_iterator< E > Class Template Reference
Inheritance diagram for xt::xchunk_iterator< E >:

Public Types

using base_type = detail::xchunk_iterator_base<E>
 
using self_type = xchunk_iterator<E>
 
using size_type = typename E::size_type
 
using shape_type = typename E::shape_type
 
using slice_vector = xstrided_slice_vector
 
using reference = typename base_type::reference
 
using value_type = std::remove_reference_t<reference>
 
using pointer = value_type*
 
using difference_type = typename E::difference_type
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 xchunk_iterator (E &chunked_expression, shape_type &&chunk_index, size_type chunk_linear_index)
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
decltype(autooperator* () const
 
bool operator== (const self_type &rhs) const
 
bool operator!= (const self_type &rhs) const
 
const shape_type & chunk_index () const
 
const slice_vector & get_slice_vector () const
 
slice_vector get_chunk_slice_vector () const
 

Detailed Description

template<class E>
class xt::xchunk_iterator< E >

Definition at line 149 of file xchunked_assign.hpp.

Member Typedef Documentation

◆ base_type

template<class E >
using xt::xchunk_iterator< E >::base_type = detail::xchunk_iterator_base<E>

Definition at line 153 of file xchunked_assign.hpp.

◆ difference_type

template<class E >
using xt::xchunk_iterator< E >::difference_type = typename E::difference_type

Definition at line 162 of file xchunked_assign.hpp.

◆ iterator_category

template<class E >
using xt::xchunk_iterator< E >::iterator_category = std::forward_iterator_tag

Definition at line 163 of file xchunked_assign.hpp.

◆ pointer

template<class E >
using xt::xchunk_iterator< E >::pointer = value_type*

Definition at line 161 of file xchunked_assign.hpp.

◆ reference

template<class E >
using xt::xchunk_iterator< E >::reference = typename base_type::reference

Definition at line 159 of file xchunked_assign.hpp.

◆ self_type

template<class E >
using xt::xchunk_iterator< E >::self_type = xchunk_iterator<E>

Definition at line 154 of file xchunked_assign.hpp.

◆ shape_type

template<class E >
using xt::xchunk_iterator< E >::shape_type = typename E::shape_type

Definition at line 156 of file xchunked_assign.hpp.

◆ size_type

template<class E >
using xt::xchunk_iterator< E >::size_type = typename E::size_type

Definition at line 155 of file xchunked_assign.hpp.

◆ slice_vector

template<class E >
using xt::xchunk_iterator< E >::slice_vector = xstrided_slice_vector

Definition at line 157 of file xchunked_assign.hpp.

◆ value_type

template<class E >
using xt::xchunk_iterator< E >::value_type = std::remove_reference_t<reference>

Definition at line 160 of file xchunked_assign.hpp.

Constructor & Destructor Documentation

◆ xchunk_iterator()

template<class E >
xt::xchunk_iterator< E >::xchunk_iterator ( E & chunked_expression,
shape_type && chunk_index,
size_type chunk_linear_index )
inline

Definition at line 274 of file xchunked_assign.hpp.

Member Function Documentation

◆ chunk_index()

template<class E >
auto xt::xchunk_iterator< E >::chunk_index ( ) const

Definition at line 345 of file xchunked_assign.hpp.

◆ get_chunk_slice_vector()

template<class E >
auto xt::xchunk_iterator< E >::get_chunk_slice_vector ( ) const
inline

Definition at line 351 of file xchunked_assign.hpp.

◆ get_slice_vector()

template<class E >
auto xt::xchunk_iterator< E >::get_slice_vector ( ) const
inline

Definition at line 339 of file xchunked_assign.hpp.

◆ operator!=()

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

Definition at line 333 of file xchunked_assign.hpp.

◆ operator*()

template<class E >
decltype(auto) xt::xchunk_iterator< E >::operator* ( ) const
inline

Definition at line 321 of file xchunked_assign.hpp.

◆ operator++() [1/2]

template<class E >
xchunk_iterator< E > & xt::xchunk_iterator< E >::operator++ ( )
inline

Definition at line 287 of file xchunked_assign.hpp.

◆ operator++() [2/2]

template<class E >
xchunk_iterator< E > xt::xchunk_iterator< E >::operator++ ( int )
inline

Definition at line 313 of file xchunked_assign.hpp.

◆ operator==()

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

Definition at line 327 of file xchunked_assign.hpp.


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