BaseMaterialMap< T > Class Template Reference
#include <BaseStorage.hh>
Additional Inherited Members | |
Public Member Functions inherited from BaseMap< Material, T > | |
BaseMap () | |
virtual | ~BaseMap () |
virtual bool | ContainsKey (const std::string &_key) const |
Determine if an elements is mapped to the given key. | |
virtual bool | ContainsValue (ConstTPtr _value) const |
Determine if the given element exists in this map. | |
virtual UPtr | Derived (const std::string &_key) const |
virtual UPtr | DerivedByIndex (unsigned int _index) const |
virtual TPtr | Get (const std::string &_key) const |
Get the element mapped to the given key. | |
virtual TPtr | GetByIndex (unsigned int _index) const |
Get the element at the given index. | |
virtual bool | Put (const std::string &_key, TPtr _value) |
Map to given element to the given key. If the given key is already in use, no work will be done. | |
virtual void | Remove (const std::string &_key) |
Remove the element mapped to the given key. If the specified element does not exists, no work will be done. | |
virtual void | Remove (TPtr _value) |
Remove the given element. If the given element does not exist no work will be done. | |
virtual void | RemoveAll () |
Remove all elements from this map. | |
virtual unsigned int | Size () const |
Get the number of elements in this map. | |
Public Member Functions inherited from Map< T > | |
virtual | ~Map ()=default |
Destructor. | |
Protected Member Functions inherited from BaseMap< Material, T > | |
virtual bool | IsValidIter (ConstUIter _iter) const |
Protected Attributes inherited from BaseMap< Material, T > | |
UMap | map |
The documentation for this class was generated from the following file: