xtensor
 
Loading...
Searching...
No Matches
xt::xdummy_iterator< is_const, CT > Class Template Reference
Inheritance diagram for xt::xdummy_iterator< is_const, CT >:

Public Types

using self_type = xdummy_iterator<is_const, CT>
 
using storage_type = std::conditional_t<is_const, const xscalar<CT>, xscalar<CT>>
 
using value_type = typename storage_type::value_type
 
using reference = detail::dummy_reference_t<is_const, CT>
 
using pointer = detail::dummy_pointer_t<is_const, CT>
 
using difference_type = typename storage_type::difference_type
 
using iterator_category = std::random_access_iterator_tag
 

Public Member Functions

 xdummy_iterator (storage_type *c) noexcept
 
self_typeoperator++ () noexcept
 
self_typeoperator-- () noexcept
 
self_typeoperator+= (difference_type n) noexcept
 
self_typeoperator-= (difference_type n) noexcept
 
difference_type operator- (const self_type &rhs) const noexcept
 
reference operator* () const noexcept
 
bool equal (const self_type &rhs) const noexcept
 
bool less_than (const self_type &rhs) const noexcept
 

Detailed Description

template<bool is_const, class CT>
class xt::xdummy_iterator< is_const, CT >

Definition at line 410 of file xscalar.hpp.

Member Typedef Documentation

◆ difference_type

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::difference_type = typename storage_type::difference_type

Definition at line 425 of file xscalar.hpp.

◆ iterator_category

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::iterator_category = std::random_access_iterator_tag

Definition at line 426 of file xscalar.hpp.

◆ pointer

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::pointer = detail::dummy_pointer_t<is_const, CT>

Definition at line 424 of file xscalar.hpp.

◆ reference

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::reference = detail::dummy_reference_t<is_const, CT>

Definition at line 423 of file xscalar.hpp.

◆ self_type

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::self_type = xdummy_iterator<is_const, CT>

Definition at line 419 of file xscalar.hpp.

◆ storage_type

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::storage_type = std::conditional_t<is_const, const xscalar<CT>, xscalar<CT>>

Definition at line 420 of file xscalar.hpp.

◆ value_type

template<bool is_const, class CT>
using xt::xdummy_iterator< is_const, CT >::value_type = typename storage_type::value_type

Definition at line 422 of file xscalar.hpp.

Constructor & Destructor Documentation

◆ xdummy_iterator()

template<bool is_const, class CT>
xt::xdummy_iterator< is_const, CT >::xdummy_iterator ( storage_type * c)
inlineexplicitnoexcept

Definition at line 1033 of file xscalar.hpp.

Member Function Documentation

◆ equal()

template<bool is_const, class CT>
bool xt::xdummy_iterator< is_const, CT >::equal ( const self_type & rhs) const
inlinenoexcept

Definition at line 1075 of file xscalar.hpp.

◆ less_than()

template<bool is_const, class CT>
bool xt::xdummy_iterator< is_const, CT >::less_than ( const self_type & rhs) const
inlinenoexcept

Definition at line 1081 of file xscalar.hpp.

◆ operator*()

template<bool is_const, class CT>
auto xt::xdummy_iterator< is_const, CT >::operator* ( ) const
inlinenoexcept

Definition at line 1069 of file xscalar.hpp.

◆ operator++()

template<bool is_const, class CT>
auto xt::xdummy_iterator< is_const, CT >::operator++ ( )
inlinenoexcept

Definition at line 1039 of file xscalar.hpp.

◆ operator+=()

template<bool is_const, class CT>
auto xt::xdummy_iterator< is_const, CT >::operator+= ( difference_type n)
inlinenoexcept

Definition at line 1051 of file xscalar.hpp.

◆ operator-()

template<bool is_const, class CT>
auto xt::xdummy_iterator< is_const, CT >::operator- ( const self_type & rhs) const
inlinenoexcept

Definition at line 1063 of file xscalar.hpp.

◆ operator--()

template<bool is_const, class CT>
auto xt::xdummy_iterator< is_const, CT >::operator-- ( )
inlinenoexcept

Definition at line 1045 of file xscalar.hpp.

◆ operator-=()

template<bool is_const, class CT>
auto xt::xdummy_iterator< is_const, CT >::operator-= ( difference_type n)
inlinenoexcept

Definition at line 1057 of file xscalar.hpp.


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