xtensor
Loading...
Searching...
No Matches
xt::xmasked_view_stepper< D, is_const > Class Template Reference

Public Types

using self_type = xmasked_view_stepper<D, is_const>
 
using masked_view_type = std::decay_t<D>
 
using value_type = typename masked_view_type::value_type
 
using reference
 
using pointer
 
using size_type = typename masked_view_type::size_type
 
using difference_type = typename masked_view_type::difference_type
 
using data_type = typename masked_view_type::data_type
 
using mask_type = typename masked_view_type::mask_type
 
using value_stepper = std::conditional_t<is_const, typename data_type::const_stepper, typename data_type::stepper>
 
using mask_stepper = std::conditional_t<is_const, typename mask_type::const_stepper, typename mask_type::stepper>
 

Public Member Functions

Data
 xmasked_view_stepper (value_stepper vs, mask_stepper fs) noexcept
 
void step (size_type dim)
 
void step_back (size_type dim)
 
void step (size_type dim, size_type n)
 
void step_back (size_type dim, size_type n)
 
void reset (size_type dim)
 
void reset_back (size_type dim)
 
void to_begin ()
 
void to_end (layout_type l)
 
reference operator* () const
 

Detailed Description

template<class D, bool is_const>
class xt::xmasked_view_stepper< D, is_const >

Definition at line 253 of file xmasked_view.hpp.

Member Typedef Documentation

◆ data_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::data_type = typename masked_view_type::data_type

Definition at line 266 of file xmasked_view.hpp.

◆ difference_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::difference_type = typename masked_view_type::difference_type

Definition at line 265 of file xmasked_view.hpp.

◆ mask_stepper

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::mask_stepper = std::conditional_t<is_const, typename mask_type::const_stepper, typename mask_type::stepper>

Definition at line 269 of file xmasked_view.hpp.

◆ mask_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::mask_type = typename masked_view_type::mask_type

Definition at line 267 of file xmasked_view.hpp.

◆ masked_view_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::masked_view_type = std::decay_t<D>

Definition at line 258 of file xmasked_view.hpp.

◆ pointer

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::pointer
Initial value:
std::
conditional_t<is_const, typename masked_view_type::const_pointer, typename masked_view_type::pointer>

Definition at line 262 of file xmasked_view.hpp.

◆ reference

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::reference
Initial value:
std::
conditional_t<is_const, typename masked_view_type::const_reference, typename masked_view_type::reference>

Definition at line 260 of file xmasked_view.hpp.

◆ self_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::self_type = xmasked_view_stepper<D, is_const>

Definition at line 257 of file xmasked_view.hpp.

◆ size_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::size_type = typename masked_view_type::size_type

Definition at line 264 of file xmasked_view.hpp.

◆ value_stepper

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::value_stepper = std::conditional_t<is_const, typename data_type::const_stepper, typename data_type::stepper>

Definition at line 268 of file xmasked_view.hpp.

◆ value_type

template<class D , bool is_const>
using xt::xmasked_view_stepper< D, is_const >::value_type = typename masked_view_type::value_type

Definition at line 259 of file xmasked_view.hpp.

Constructor & Destructor Documentation

◆ xmasked_view_stepper()

template<class D , bool C>
xt::xmasked_view_stepper< D, C >::xmasked_view_stepper ( value_stepper vs,
mask_stepper fs )
inlinenoexcept

Definition at line 607 of file xmasked_view.hpp.

Member Function Documentation

◆ operator*()

template<class D , bool C>
auto xt::xmasked_view_stepper< D, C >::operator* ( ) const
inline

Definition at line 670 of file xmasked_view.hpp.

◆ reset()

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::reset ( size_type dim)
inline

Definition at line 642 of file xmasked_view.hpp.

◆ reset_back()

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::reset_back ( size_type dim)
inline

Definition at line 649 of file xmasked_view.hpp.

◆ step() [1/2]

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::step ( size_type dim)
inline

Definition at line 614 of file xmasked_view.hpp.

◆ step() [2/2]

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::step ( size_type dim,
size_type n )
inline

Definition at line 628 of file xmasked_view.hpp.

◆ step_back() [1/2]

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::step_back ( size_type dim)
inline

Definition at line 621 of file xmasked_view.hpp.

◆ step_back() [2/2]

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::step_back ( size_type dim,
size_type n )
inline

Definition at line 635 of file xmasked_view.hpp.

◆ to_begin()

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::to_begin ( )
inline

Definition at line 656 of file xmasked_view.hpp.

◆ to_end()

template<class D , bool C>
void xt::xmasked_view_stepper< D, C >::to_end ( layout_type l)
inline

Definition at line 663 of file xmasked_view.hpp.


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