|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
An iterator for SubMap, based on MapIterator. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/slam/SubMap.hpp>

Public Types | |
| using | iterator_category = std::random_access_iterator_tag |
| using | value_type = DataType |
| using | reference = DataRefType |
| using | pointer = DataType * |
| using | difference_type = SetPosition |
| using | IterBase = IteratorBase< Iterator, SetPosition > |
| using | iter = Iterator |
| using | PositionType = SetPosition |
Equality and relational operators | |
| using | iterator = IteratorBase< Iterator, SetPosition > |
Public Member Functions | |
| AXOM_HOST_DEVICE | Iterator (PositionType pos, const SubMap &sMap) |
| AXOM_HOST_DEVICE DataRefType | operator* () const |
| Returns the current iterator value. More... | |
| pointer | operator-> () const |
| DataRefType | operator[] (PositionType n) const |
| Returns the first component value after n increments. More... | |
| IndexType | index () const |
| Returns the Set element at the iterator's position. More... | |
| PositionType | compIndex () const |
| Returns the component index pointed to by this iterator. More... | |
| SetPosition | flatIndex () const |
| Returns the flat index pointed to by this iterator. More... | |
| PositionType | numComp () const |
| Returns the number of component per element in the SubMap. More... | |
Iterator advance and distance operators | |
| AXOM_SUPPRESS_HD_WARN AXOM_HOST_DEVICE Iterator & | operator++ () |
| Pre-increment operator. More... | |
| Iterator | operator++ (int) |
| Post-increment operator. More... | |
| Iterator & | operator-- () |
| Pre-decrement operator. More... | |
| Iterator | operator-- (int) |
| Post-decrement operator. More... | |
| AXOM_SUPPRESS_HD_WARN AXOM_HOST_DEVICE Iterator & | operator+= (SetPosition n) |
| Addition-assignment operator. More... | |
| Iterator & | operator-= (SetPosition n) |
| Subtraction-assignment operator. More... | |
Protected Member Functions | |
| AXOM_HOST_DEVICE void | advance (PositionType pos) |
Protected Attributes | |
| SetPosition | m_pos |
An iterator for SubMap, based on MapIterator.
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::iterator_category = std::random_access_iterator_tag |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::value_type = DataType |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::reference = DataRefType |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::pointer = DataType* |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::difference_type = SetPosition |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::IterBase = IteratorBase<Iterator, SetPosition> |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::iter = Iterator |
| using axom::slam::SubMap< SuperMapType, SubsetType, InterfacePolicy >::Iterator::PositionType = SetPosition |
|
inherited |
|
inline |
|
inline |
Returns the current iterator value.
|
inline |
|
inline |
Returns the first component value after n increments.
|
inline |
Returns the Set element at the iterator's position.
|
inline |
Returns the component index pointed to by this iterator.
|
inline |
Returns the flat index pointed to by this iterator.
|
inline |
Returns the number of component per element in the SubMap.
|
inlineprotected |
|
inlineinherited |
Pre-increment operator.
|
inlineinherited |
Post-increment operator.
|
inlineinherited |
Pre-decrement operator.
|
inlineinherited |
Post-decrement operator.
|
inlineinherited |
Addition-assignment operator.
|
inlineinherited |
Subtraction-assignment operator.
|
protectedinherited |