|
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 T. Derived child classes can determine how to specifically store the items. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/core/ItemCollection.hpp>

Classes | |
| class | const_iterator |
| An std-compliant forward iterator for a const ItemCollection. More... | |
| class | const_iterator_adaptor |
| Utility class to wrap a const ItemCollection in support of iteration. More... | |
| class | iterator |
| An std-compliant forward iterator for an ItemCollection. More... | |
| class | iterator_adaptor |
| Utility class to wrap an ItemCollection in support of iteration. More... | |
Public Types | |
| using | value_type = T |
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 (IndexType idx) const =0 |
| virtual T * | getItem (IndexType idx)=0 |
| virtual T const * | getItem (IndexType idx) const =0 |
| virtual IndexType | insertItem (T *item, const std::string &name="")=0 |
| virtual T * | removeItem (IndexType idx)=0 |
| virtual void | removeAllItems ()=0 |
| virtual iterator | begin ()=0 |
| virtual iterator | end ()=0 |
| virtual const_iterator | cbegin () const =0 |
| virtual const_iterator | cend () const =0 |
| virtual const_iterator | begin () const =0 |
| virtual const_iterator | end () const =0 |
| 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... | |
ItemCollection is an abstract base class template for holding a collection of items of template parameter type T. Derived child classes can determine how to specifically store the items.
| using axom::ItemCollection< T >::value_type = T |
|
inlinevirtual |
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::ListCollection< T >, and axom::MapCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
pure virtual |
Implemented in axom::MapCollection< T >, axom::ListCollection< T >, and axom::IndexedCollection< T >.
|
inline |
Returns an adaptor wrapping this collection in support of iteration.
|
inline |
Returns a const adaptor wrapping this collection in support of iteration.