Iterator over tracked constructed entries. More...
#include <KokkosArray.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = T |
| using | difference_type = std::ptrdiff_t |
| using | pointer = std::conditional_t< is_const, const T *, T * > |
| using | reference = std::conditional_t< is_const, const T &, T & > |
| using | array_type = std::conditional_t< is_const, const ArrayBase, ArrayBase > |
Public Member Functions | |
| reference | operator* () const |
| pointer | operator-> () const |
| constructed_entry_iterator & | operator++ () |
| constructed_entry_iterator | operator++ (int) |
| bool | operator== (const constructed_entry_iterator &other) const |
| bool | operator!= (const constructed_entry_iterator &other) const |
Private Member Functions | |
| constructed_entry_iterator (array_type &array, index_type i) | |
| void | advanceToConstructed () |
Private Attributes | |
| array_type & | _array |
| Array whose constructed entries are being iterated. More... | |
| index_type | _i = 0 |
| Current slot index in _array. More... | |
Friends | |
| class | constructed_entry_range< is_const > |
Iterator over tracked constructed entries.
Definition at line 196 of file KokkosArray.h.
| using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::array_type = std::conditional_t<is_const, const ArrayBase, ArrayBase> |
Definition at line 204 of file KokkosArray.h.
| using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::difference_type = std::ptrdiff_t |
Definition at line 201 of file KokkosArray.h.
| using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::iterator_category = std::forward_iterator_tag |
Definition at line 199 of file KokkosArray.h.
| using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::pointer = std::conditional_t<is_const, const T *, T *> |
Definition at line 202 of file KokkosArray.h.
| using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::reference = std::conditional_t<is_const, const T &, T &> |
Definition at line 203 of file KokkosArray.h.
| using Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::value_type = T |
Definition at line 200 of file KokkosArray.h.
|
private |
Definition at line 719 of file KokkosArray.h.
|
private |
Definition at line 769 of file KokkosArray.h.
Referenced by Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::constructed_entry_iterator().
| bool Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator!= | ( | const constructed_entry_iterator< is_const > & | other | ) | const |
Definition at line 760 of file KokkosArray.h.
|
inline |
Definition at line 206 of file KokkosArray.h.
| ArrayBase< T, dimension, index_type >::template constructed_entry_iterator< is_const > & Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator++ | ( | ) |
Definition at line 731 of file KokkosArray.h.
| ArrayBase< T, dimension, index_type >::template constructed_entry_iterator< is_const > Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator++ | ( | int | ) |
Definition at line 741 of file KokkosArray.h.
|
inline |
Definition at line 207 of file KokkosArray.h.
| bool Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator== | ( | const constructed_entry_iterator< is_const > & | other | ) | const |
Definition at line 751 of file KokkosArray.h.
|
friend |
Definition at line 214 of file KokkosArray.h.
|
private |
Array whose constructed entries are being iterated.
Definition at line 223 of file KokkosArray.h.
Referenced by Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator*(), Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator->(), and Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator==().
|
private |
Current slot index in _array.
Definition at line 227 of file KokkosArray.h.
Referenced by Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator*(), Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator->(), and Moose::Kokkos::ArrayBase< T, dimension, index_type >::constructed_entry_iterator< is_const >::operator==().
1.8.14