35namespace typehandling {
40For compatibility with C++, ``)docstring" +
41 className + R"docstring(`` has the following restrictions:
42 - all keys must be )docstring" + keyName +
44 - values must be built-in types or subclasses of `lsst.afw.typehandling.Storable`.
45 Almost any user-defined class in C++ or Python can have
46 `~lsst.afw.typehandling.Storable` as a mixin.
48As a safety precaution, `~lsst.afw.typehandling.Storable` objects that are
49added from C++ may be copied when you retrieve them from Python, making it
50impossible to modify them in-place. This issue does not affect objects that
51are added from Python, or objects that are always passed by
52:cpp:class:`shared_ptr` in C++.
std::string declareGenericMapRestrictions(std::string const &className, std::string const &keyName)
A base class for image defects.