diff -r ec5d7af033d8 -r 2b18a72dcaf0 plcopen/structures.py --- a/plcopen/structures.py Wed Sep 19 15:20:59 2007 +0200 +++ b/plcopen/structures.py Wed Sep 19 17:23:15 2007 +0200 @@ -270,6 +270,12 @@ test = TypeHierarchy[test] return False +def IsEndType(reference): + if reference is not None: + return len([typename for typename, parenttype in TypeHierarchy_list if parenttype == reference]) == 0 + else: + return True + """ returns list of all types that correspont to the ANY* meta type """