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/latest/src/axom/sidre/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_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... | |
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::sidre::ItemCollection< T >::iterator::difference_type = IndexType |
using axom::sidre::ItemCollection< T >::iterator::value_type = typename std::remove_cv<T>::type |
using axom::sidre::ItemCollection< T >::iterator::reference = T& |
using axom::sidre::ItemCollection< T >::iterator::pointer = T* |
using axom::sidre::ItemCollection< T >::iterator::iterator_category = std::forward_iterator_tag |
|
inherited |
|
inline |
|
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 |