AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
MapCollection is a container class template for holding a collection of items of template parameter type TYPE, using a map container of type MAP_TYPE. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/sidre/core/MapCollection.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 () |
MapCollection is a container class template for holding a collection of items of template parameter type TYPE, using a map container of type MAP_TYPE.
|
inlinevirtual |
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::InvalidIndex.
Referenced by axom::sidre::MapCollection< TYPE >::getNumItems().
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::InvalidIndex.
Referenced by axom::sidre::MapCollection< TYPE >::getNumItems().
|
inlinevirtual |
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::MapCollection< TYPE >::hasItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::MapCollection< TYPE >::hasItem().
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::MapCollection< TYPE >::hasItem(), and axom::sidre::InvalidName.
|
inlinevirtual |
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
References axom::sidre::InvalidIndex.
Referenced by axom::sidre::MapCollection< TYPE >::getItemIndex().
|
virtual |
Implements axom::sidre::ItemCollection< TYPE >.
Referenced by axom::sidre::MapCollection< TYPE >::getItemIndex(), and axom::sidre::MapCollection< TYPE >::removeItem().
|
virtual |
|
inlinevirtual |
Implements axom::sidre::ItemCollection< TYPE >.