IDictionary#
- class carb.dictionary.IDictionary#
Bases:
pybind11_object
Methods
__init__
(*args, **kwargs)create_item
(self, arg0, arg1, arg2)destroy_item
(self, arg0)get
(self, base_item[, path])get_array_length
(self, arg0)get_as_bool
(self, arg0)get_as_float
(self, arg0)get_as_int
(self, arg0)get_as_string
(self, base_item[, path])get_dict_copy
(self, base_item[, path])Creates python object from the supplied dictionary at path (supplied item is unchanged).
get_item
(self, base_item[, path])get_item_child_by_index
(self, arg0, arg1)get_item_child_by_index_mutable
(self, arg0, arg1)get_item_child_count
(self, arg0)get_item_mutable
(self, base_item[, path])get_item_name
(self, base_item[, path])get_item_parent
(self, arg0)get_item_parent_mutable
(self, arg0)get_item_type
(self, arg0)get_preferred_array_type
(self, arg0)is_accessible_as
(self, arg0, arg1)is_accessible_as_array_of
(self, arg0, arg1)readLock
(self, arg0)set
(self, item, path, value)set_bool
(self, arg0, arg1)set_bool_array
(self, arg0, arg1)set_float
(self, arg0, arg1)set_float_array
(self, arg0, arg1)set_int
(self, arg0, arg1)set_int_array
(self, arg0, arg1)set_string
(self, arg0, arg1)set_string_array
(self, arg0, arg1)unlock
(self, arg0)update
(self, arg0, arg1, arg2, arg3, arg4)writeLock
(self, arg0)- __init__(*args, **kwargs)#
- create_item(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: object,
- arg1: str,
- arg2: carb.dictionary._dictionary.ItemType,
- destroy_item( ) None #
- get(
- self: carb.dictionary._dictionary.IDictionary,
- base_item: carb.dictionary._dictionary.Item,
- path: str = '',
- get_array_length( ) int #
- get_as_bool( ) bool #
- get_as_float( ) float #
- get_as_int( ) int #
- get_as_string(
- self: carb.dictionary._dictionary.IDictionary,
- base_item: carb.dictionary._dictionary.Item,
- path: str = '',
- get_dict_copy(
- self: carb.dictionary._dictionary.IDictionary,
- base_item: carb.dictionary._dictionary.Item,
- path: str = '',
Creates python object from the supplied dictionary at path (supplied item is unchanged). Item is calculated via the path relative to the base item.
- Parameters:
base_item – The base item.
path – Path, relative to the base item - to the item
- Returns:
Python object with copies of the item data.
- get_item(
- self: carb.dictionary._dictionary.IDictionary,
- base_item: carb.dictionary._dictionary.Item,
- path: str = '',
- get_item_child_by_index(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: int,
- get_item_child_by_index_mutable(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: int,
- get_item_child_count( ) int #
- get_item_mutable(
- self: carb.dictionary._dictionary.IDictionary,
- base_item: carb.dictionary._dictionary.Item,
- path: str = '',
- get_item_name(
- self: carb.dictionary._dictionary.IDictionary,
- base_item: carb.dictionary._dictionary.Item,
- path: str = '',
- get_item_parent( ) carb.dictionary._dictionary.Item #
- get_item_parent_mutable( ) carb.dictionary._dictionary.Item #
- get_item_type( ) carb.dictionary._dictionary.ItemType #
- get_preferred_array_type( ) carb.dictionary._dictionary.ItemType #
- is_accessible_as(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.ItemType,
- arg1: carb.dictionary._dictionary.Item,
- is_accessible_as_array_of(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.ItemType,
- arg1: carb.dictionary._dictionary.Item,
- readLock( ) None #
- set(
- self: carb.dictionary._dictionary.IDictionary,
- item: carb.dictionary._dictionary.Item,
- path: str = '',
- value: handle,
- set_bool(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: bool,
- set_bool_array(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: List[bool],
- set_float(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: float,
- set_float_array(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: List[float],
- set_int(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: int,
- set_int_array(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: List[int],
- set_string(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: str,
- set_string_array(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: List[str],
- unlock( ) None #
- update(
- self: carb.dictionary._dictionary.IDictionary,
- arg0: carb.dictionary._dictionary.Item,
- arg1: str,
- arg2: carb.dictionary._dictionary.Item,
- arg3: str,
- arg4: object,
- writeLock( ) None #