Class lsst::afw::typehandling::MutableGenericMap¶
-
template<typename
K
>
classMutableGenericMap
: public lsst::afw::typehandling::GenericMap<K>¶ Interface for a GenericMap that allows element addition and removal.
In Python, a MutableGenericMap behaves like a
collections.abc.MutableMapping
.- Note
Unlike standard library maps, this class does not support
operator[]
orinsert_or_assign
. This is because these operations would have surprising behavior when dealing with keys of different types but the same Key::getId().
Subclassed by lsst::afw::typehandling::SimpleGenericMap< K >