AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
ItemCollection is an abstract base class template for holding a collection of items of template parameter type TYPE. Derived child classes can determine how to specifically store the items. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/sidre/core/ItemCollection.hpp>
Public Member Functions | |
virtual | ~ItemCollection () |
virtual size_t | getNumItems () const =0 |
virtual IndexType | getFirstValidIndex () const =0 |
virtual IndexType | getNextValidIndex (IndexType idx) const =0 |
virtual bool | hasItem (const std::string &name) const =0 |
virtual bool | hasItem (IndexType idx) const =0 |
virtual TYPE * | getItem (const std::string &name)=0 |
virtual TYPE const * | getItem (const std::string &name) const =0 |
virtual TYPE * | getItem (IndexType idx)=0 |
virtual TYPE const * | getItem (IndexType idx) const =0 |
virtual const std::string & | getItemName (IndexType idx) const =0 |
virtual IndexType | getItemIndex (const std::string &name) const =0 |
virtual IndexType | insertItem (TYPE *item, const std::string &name)=0 |
virtual TYPE * | removeItem (const std::string &name)=0 |
virtual TYPE * | removeItem (IndexType idx)=0 |
virtual void | removeAllItems ()=0 |
ItemCollection is an abstract base class template for holding a collection of items of template parameter type TYPE. Derived child classes can determine how to specifically store the items.
|
inlinevirtual |
References axom::sidre::ItemCollection< TYPE >::getFirstValidIndex(), axom::sidre::ItemCollection< TYPE >::getItem(), axom::sidre::ItemCollection< TYPE >::getItemIndex(), axom::sidre::ItemCollection< TYPE >::getItemName(), axom::sidre::ItemCollection< TYPE >::getNextValidIndex(), axom::sidre::ItemCollection< TYPE >::getNumItems(), axom::sidre::ItemCollection< TYPE >::hasItem(), axom::sidre::ItemCollection< TYPE >::insertItem(), axom::sidre::ItemCollection< TYPE >::removeAllItems(), and axom::sidre::ItemCollection< TYPE >::removeItem().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
|
pure virtual |
Implemented in axom::sidre::MapCollection< TYPE >, and axom::sidre::ListCollection< TYPE >.
Referenced by axom::sidre::ItemCollection< TYPE >::~ItemCollection().