get_by_interface
Description:
Looks for an element inside the bin that implements the given interface.
If such an element is found, it returns the element. You can cast this element to the given interface afterwards. If you want all elements that implement the interface, use iterate_all_by_interface. This function recurses into child bins.
Parameters:
this |
a Bin |
iface |
the Type of an interface |
Returns:
A Element inside the bin implementing the interface |