DDC 0.5.0
Loading...
Searching...
No Matches
ddc::StridedDiscreteDomainIterator< DDim > Struct Template Reference

#include <strided_discrete_domain.hpp>

Collaboration diagram for ddc::StridedDiscreteDomainIterator< DDim >:
Collaboration graph

Public Types

using iterator_category = std::random_access_iterator_tag
 
using value_type = DiscreteElement< DDim >
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

KOKKOS_DEFAULTED_FUNCTION StridedDiscreteDomainIterator ()=default
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIterator (DiscreteElement< DDim > value, DiscreteVector< DDim > stride)
 
KOKKOS_FUNCTION constexpr DiscreteElement< DDimoperator* () const noexcept
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIteratoroperator++ ()
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIterator operator++ (int)
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIteratoroperator-- ()
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIterator operator-- (int)
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIteratoroperator+= (difference_type n)
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIteratoroperator-= (difference_type n)
 
KOKKOS_FUNCTION constexpr DiscreteElement< DDimoperator[] (difference_type n) const
 

Friends

KOKKOS_FUNCTION constexpr bool operator== (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator!= (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator< (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator> (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator<= (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 
KOKKOS_FUNCTION constexpr bool operator>= (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIterator operator+ (StridedDiscreteDomainIterator i, difference_type n)
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIterator operator+ (difference_type n, StridedDiscreteDomainIterator i)
 
KOKKOS_FUNCTION constexpr StridedDiscreteDomainIterator operator- (StridedDiscreteDomainIterator i, difference_type n)
 
KOKKOS_FUNCTION constexpr difference_type operator- (StridedDiscreteDomainIterator const &xx, StridedDiscreteDomainIterator const &yy)
 

Detailed Description

template<class DDim>
struct ddc::StridedDiscreteDomainIterator< DDim >

Definition at line 584 of file strided_discrete_domain.hpp.

Member Typedef Documentation

◆ iterator_category

template<class DDim >
using ddc::StridedDiscreteDomainIterator< DDim >::iterator_category = std::random_access_iterator_tag

Definition at line 592 of file strided_discrete_domain.hpp.

◆ value_type

◆ difference_type

template<class DDim >
using ddc::StridedDiscreteDomainIterator< DDim >::difference_type = std::ptrdiff_t

Definition at line 596 of file strided_discrete_domain.hpp.

Constructor & Destructor Documentation

◆ StridedDiscreteDomainIterator() [1/2]

template<class DDim >
KOKKOS_DEFAULTED_FUNCTION ddc::StridedDiscreteDomainIterator< DDim >::StridedDiscreteDomainIterator ( )
default

◆ StridedDiscreteDomainIterator() [2/2]

template<class DDim >
KOKKOS_FUNCTION constexpr ddc::StridedDiscreteDomainIterator< DDim >::StridedDiscreteDomainIterator ( DiscreteElement< DDim value,
DiscreteVector< DDim stride 
)
inlineexplicitconstexpr

Definition at line 600 of file strided_discrete_domain.hpp.

Member Function Documentation

◆ operator*()

Definition at line 608 of file strided_discrete_domain.hpp.

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator--() [1/2]

◆ operator--() [2/2]

◆ operator+=()

◆ operator-=()

◆ operator[]()

Friends And Related Symbol Documentation

◆ operator==

◆ operator!=

◆ operator<

◆ operator>

◆ operator<=

◆ operator>=

◆ operator+ [1/2]

◆ operator+ [2/2]

◆ operator- [1/2]

◆ operator- [2/2]


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