GenericMap¶
- 
class 
lsst.afw.typehandling.GenericMap¶ Bases:
objectAn abstract
Mappingfor use when sharing a map between C++ and Python.For compatibility with C++,
GenericMaphas the following restrictions:- all keys must be of the same type
 - values must be built-in types or subclasses of
lsst.afw.typehandling.Storable. Almost any user-defined class in C++ or Python can haveStorableas a mixin. 
As a safety precaution,
Storableobjects that are added from C++ may be copied when you retrieve them from Python, making it impossible to modify them in-place. This issue does not affect objects that are added from Python, or objects that are always passed byshared_ptrin C++.Attributes Summary
TEMPLATE_DEFAULTSTEMPLATE_PARAMSMethods Summary
items()keys()values()Attributes Documentation
- 
TEMPLATE_DEFAULTS= (None,)¶ 
- 
TEMPLATE_PARAMS= ('dtype',)¶ 
Methods Documentation
- 
items() → a set-like object providing a view on D's items¶ 
- 
keys() → a set-like object providing a view on D's keys¶ 
- 
values() → an object providing a view on D's values¶