AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
ListCollection is a container class template for holding a collection of items of template parameter type T, using a list container. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/sidre/core/ListCollection.hpp>
Public Types | |
using | value_type = T |
using | iterator = typename ItemCollection< T >::iterator |
using | const_iterator = typename ItemCollection< T >::const_iterator |
Public Member Functions | |
size_t | getNumItems () const |
IndexType | getFirstValidIndex () const |
IndexType | getNextValidIndex (IndexType idx) const |
bool | hasItem (IndexType idx) const |
T * | getItem (IndexType idx) |
T const * | getItem (IndexType idx) const |
IndexType | insertItem (T *item, const std::string &name="") |
T * | removeItem (IndexType idx) |
void | removeAllItems () |
iterator | begin () |
iterator | end () |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator_adaptor | getIteratorAdaptor () |
Returns an adaptor wrapping this collection in support of iteration. More... | |
const_iterator_adaptor | getIteratorAdaptor () const |
Returns a const adaptor wrapping this collection in support of iteration. More... | |
ListCollection is a container class template for holding a collection of items of template parameter type T, using a list container.
using axom::sidre::ListCollection< T >::value_type = T |
using axom::sidre::ListCollection< T >::iterator = typename ItemCollection<T>::iterator |
using axom::sidre::ListCollection< T >::const_iterator = typename ItemCollection<T>::const_iterator |
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
virtual |
Implements axom::sidre::ItemCollection< T >.
References axom::sidre::InvalidIndex.
|
virtual |
Implements axom::sidre::ItemCollection< T >.
References axom::sidre::InvalidIndex.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
References axom::sidre::ListCollection< T >::hasItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
References axom::sidre::ListCollection< T >::hasItem().
|
virtual |
Implements axom::sidre::ItemCollection< T >.
References SLIC_WARNING_IF.
|
virtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< T >.
|
inlineinherited |
Returns an adaptor wrapping this collection in support of iteration.
|
inlineinherited |
Returns a const adaptor wrapping this collection in support of iteration.