numerous.engine.system.Binding

Binding

class numerous.engine.system.Binding(binding_name)[source]

Represents expected binding of an Item. When binding is point to an actual item it checks for mapped variables and namespaces.

binding_name
Type:string
add_binding(item)[source]

Add an ‘Item’ to binded items.

Parameters:item (Item) – Item to be used as a binding.
is_bindend()[source]

Checks if item is binded to this binding.

Returns:is_bindend
Return type:bool
update_namespace(ns)[source]

Updating an existing or creating a new namespace.

Parameters:ns (Item) – Namespace.