pymoveit_mtc.core.PropertyMap¶
- class PropertyMap(self: pymoveit_mtc.core.PropertyMap)¶
Bases:
pybind11_object
Dictionary of named properties
Methods
Configure initialization of listed (or all) properties from given source(s).
Overloaded function.
Retrieve an iterator over the items of the dictionary.
Retrieve the property instance for the given key.
Reset all properties to their default values
Update property values from another dictionary
- __getitem__(self: pymoveit_mtc.core.PropertyMap, arg0: str) object ¶
- __iter__(self: pymoveit_mtc.core.PropertyMap) Iterator[str] ¶
- configureInitFrom(self: pymoveit_mtc.core.PropertyMap, sources: int, names: list = []) None ¶
Configure initialization of listed (or all) properties from given source(s).
- exposeTo(*args, **kwargs)¶
Overloaded function.
exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, name: str) -> None
Declare
named
property inother
PropertyMap - using same name.exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, name: str, other_name: str) -> None
Declare
named
property inother
PropertyMap - usingother_name
.exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, names: list) -> None
Declare all
named
properties inother
PropertyMap - using the same names.
- items(self: pymoveit_mtc.core.PropertyMap) Iterator[tuple[str, pymoveit_mtc.core.Property]] ¶
Retrieve an iterator over the items of the dictionary.
- property(self: pymoveit_mtc.core.PropertyMap, key: str) pymoveit_mtc.core.Property ¶
Retrieve the property instance for the given key. This is in contrast to
map[key]
, which returnsmap.property(key).value()
.
- reset(self: pymoveit_mtc.core.PropertyMap) None ¶
Reset all properties to their default values
- update(self: pymoveit_mtc.core.PropertyMap, values: dict) None ¶
Update property values from another dictionary