AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
An std-compliant forward iterator for a const 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 = const T & |
using | pointer = const T * |
using | iterator_category = std::forward_iterator_tag |
Equality and relational operators | |
using | iterator = IteratorBase< const_iterator, IndexType > |
Public Member Functions | |
const_iterator (const CollectionType *coll, bool is_first) | |
IndexType | index () const |
pointer | operator-> () |
reference | operator* () |
Iterator advance and distance operators | |
AXOM_HOST_DEVICE const_iterator & | operator++ () |
Pre-increment operator. More... | |
const_iterator | operator++ (int) |
Post-increment operator. More... | |
const_iterator & | operator-- () |
Pre-decrement operator. More... | |
const_iterator | operator-- (int) |
Post-decrement operator. More... | |
const_iterator & | operator+= (IndexType n) |
Addition-assignment operator. More... | |
const_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 a const ItemCollection.
using axom::sidre::ItemCollection< T >::const_iterator::difference_type = IndexType |
using axom::sidre::ItemCollection< T >::const_iterator::value_type = typename std::remove_cv<T>::type |
using axom::sidre::ItemCollection< T >::const_iterator::reference = const T& |
using axom::sidre::ItemCollection< T >::const_iterator::pointer = const T* |
using axom::sidre::ItemCollection< T >::const_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 |