|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
An std-compliant forward iterator for an ItemCollection. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/core/ItemCollection.hpp>

Public Types | |
| using | difference_type = IndexType |
| using | value_type = typename std::remove_cv< T >::type |
| using | reference = T & |
| using | pointer = T * |
| using | iterator_category = std::forward_iterator_tag |
Equality and relational operators | |
| using | iterator = IteratorBase< iterator, IndexType > |
Public Member Functions | |
| iterator (CollectionType *coll, bool is_first) | |
| IndexType | index () const |
| pointer | operator-> () |
| reference | operator* () |
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+= (IndexType n) |
| Addition-assignment operator. More... | |
| iterator & | operator-= (IndexType n) |
| Subtraction-assignment operator. More... | |
Protected Member Functions | |
| void | advance (IndexType n) |
| Implementation of advance() as required by IteratorBase. More... | |
Protected Attributes | |
| IndexType | m_pos |
An std-compliant forward iterator for an ItemCollection.
| using axom::ItemCollection< T >::iterator::difference_type = IndexType |
| using axom::ItemCollection< T >::iterator::value_type = typename std::remove_cv<T>::type |
| using axom::ItemCollection< T >::iterator::reference = T& |
| using axom::ItemCollection< T >::iterator::pointer = T* |
| using axom::ItemCollection< T >::iterator::iterator_category = std::forward_iterator_tag |
|
inherited |
|
inline |
References axom::ItemCollection< T >::getFirstValidIndex(), and axom::InvalidIndex.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Implementation of advance() as required by IteratorBase.
|
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 |