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 TYPE, using a list container. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/sidre/core/ListCollection.hpp>
Public Member Functions | |
size_t | getNumItems () const |
IndexType | getFirstValidIndex () const |
IndexType | getNextValidIndex (IndexType idx) const |
bool | hasItem (const std::string &name) const |
bool | hasItem (IndexType idx) const |
TYPE * | getItem (const std::string &name) |
TYPE const * | getItem (const std::string &name) const |
TYPE * | getItem (IndexType idx) |
TYPE const * | getItem (IndexType idx) const |
const std::string & | getItemName (IndexType idx) const |
IndexType | getItemIndex (const std::string &name) const |
IndexType | insertItem (TYPE *item, const std::string &name) |
TYPE * | removeItem (const std::string &name) |
TYPE * | removeItem (IndexType idx) |
void | removeAllItems () |
ListCollection is a container class template for holding a collection of items of template parameter type TYPE, using a list container.
|
inlinevirtual |
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::InvalidIndex.
Referenced by axom::sidre::ListCollection< TYPE >::getNumItems().
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::InvalidIndex.
Referenced by axom::sidre::ListCollection< TYPE >::getNumItems().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References SLIC_WARNING.
Referenced by axom::sidre::ListCollection< TYPE >::getItem(), and axom::sidre::ListCollection< TYPE >::removeItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References SLIC_WARNING.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References SLIC_WARNING.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::ListCollection< TYPE >::hasItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::ListCollection< TYPE >::hasItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::InvalidName, and SLIC_WARNING.
|
inlinevirtual |
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References SLIC_WARNING_IF.
Referenced by axom::sidre::ListCollection< TYPE >::getItemIndex().
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References SLIC_WARNING.
Referenced by axom::sidre::ListCollection< TYPE >::getItemIndex().
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::ListCollection< TYPE >::hasItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.