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 407 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 422 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 423 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 421 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 420 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 416 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 417 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 419 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 1030 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 1072 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 1078 of file xscalar.hpp.

◆ operator*()

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

Definition at line 1066 of file xscalar.hpp.

◆ operator++()

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

Definition at line 1036 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 1048 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 1060 of file xscalar.hpp.

◆ operator--()

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

Definition at line 1042 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 1054 of file xscalar.hpp.


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