pymoveit_mtc.core.PropertyMap¶
- class PropertyMap(self: pymoveit_mtc.core.PropertyMap)¶
Bases:
pybind11_objectDictionary 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) collections.abc.Iterator[str]¶
- configureInitFrom(self: pymoveit_mtc.core.PropertyMap, sources: SupportsInt, 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
namedproperty inotherPropertyMap - using same name.exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, name: str, other_name: str) -> None
Declare
namedproperty inotherPropertyMap - usingother_name.exposeTo(self: pymoveit_mtc.core.PropertyMap, other: pymoveit_mtc.core.PropertyMap, names: list) -> None
Declare all
namedproperties inotherPropertyMap - using the same names.
- items(self: pymoveit_mtc.core.PropertyMap) collections.abc.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