DDC 0.1.0
Loading...
Searching...
No Matches
ddc::DiscreteDomainIterator< DDim > Struct Template Reference

#include <discrete_domain.hpp>

Collaboration diagram for ddc::DiscreteDomainIterator< 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 DiscreteDomainIterator ()=default
 
KOKKOS_FUNCTION constexpr DiscreteDomainIterator (DiscreteElement< DDim > value)
 
KOKKOS_FUNCTION constexpr DiscreteElement< DDimoperator* () const noexcept
 
KOKKOS_FUNCTION constexpr DiscreteDomainIteratoroperator++ ()
 
KOKKOS_FUNCTION constexpr DiscreteDomainIterator operator++ (int)
 
KOKKOS_FUNCTION constexpr DiscreteDomainIteratoroperator-- ()
 
KOKKOS_FUNCTION constexpr DiscreteDomainIterator operator-- (int)
 
KOKKOS_FUNCTION constexpr DiscreteDomainIteratoroperator+= (difference_type n)
 
KOKKOS_FUNCTION constexpr DiscreteDomainIteratoroperator-= (difference_type n)
 
KOKKOS_FUNCTION constexpr DiscreteElement< DDimoperator[] (difference_type n) const
 

Friends

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

Detailed Description

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

Definition at line 528 of file discrete_domain.hpp.

Member Typedef Documentation

◆ iterator_category

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

Definition at line 534 of file discrete_domain.hpp.

◆ value_type

Definition at line 536 of file discrete_domain.hpp.

◆ difference_type

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

Definition at line 538 of file discrete_domain.hpp.

Constructor & Destructor Documentation

◆ DiscreteDomainIterator() [1/2]

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

◆ DiscreteDomainIterator() [2/2]

template<class DDim >
KOKKOS_FUNCTION constexpr ddc::DiscreteDomainIterator< DDim >::DiscreteDomainIterator ( DiscreteElement< DDim value)
inlineexplicitconstexpr

Definition at line 542 of file discrete_domain.hpp.

Member Function Documentation

◆ operator*()

Definition at line 547 of file discrete_domain.hpp.

◆ operator++() [1/2]

◆ operator++() [2/2]

◆ operator--() [1/2]

◆ operator--() [2/2]

◆ operator+=()

◆ operator-=()

◆ operator[]()

Definition at line 598 of file discrete_domain.hpp.

Friends And Related Symbol Documentation

◆ operator==

Definition at line 603 of file discrete_domain.hpp.

◆ operator!=

Definition at line 612 of file discrete_domain.hpp.

◆ operator<

Definition at line 620 of file discrete_domain.hpp.

◆ operator>

Definition at line 627 of file discrete_domain.hpp.

◆ operator<=

Definition at line 634 of file discrete_domain.hpp.

◆ operator>=

Definition at line 641 of file discrete_domain.hpp.

◆ operator+ [1/2]

◆ operator+ [2/2]

◆ operator- [1/2]

◆ operator- [2/2]


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