IModuleRangeForward.IsEmpty (PROP) ¶ PROPERTY IsEmpty : BOOL Returns whether the range is empty. The property First may only be called if IsEmpty is FALSE.
IModuleRangeForward.PopFirst (METH) ¶ METHOD PopFirst Removes the first instance from the range. May only be called if IsEmpty is FALSE.
SiblingRange (FB) ¶ FUNCTION_BLOCK FINAL SiblingRange IMPLEMENTS IModuleRangeForward The range of all siblings of a module instance. The order is as defined by the module tree. The range starts with a given module instance. Properties: First IsEmpty Methods: Init PopFirst Structure: First (Property) Init (Method) IsEmpty (Property) PopFirst (Method)
DepthFirstRange.Init (METH) ¶ METHOD PUBLIC FINAL Init Initializes the range with the first instance. InOut: Scope Name Type Comment Input itfM IModule The first instance of the depth first range
DepthFirstRange.IsEmpty (PROP) ¶ PROPERTY FINAL IsEmpty : BOOL Returns whether there are items left on the range or not
DepthFirstRange.PopFirst (METH) ¶ METHOD PUBLIC FINAL PopFirst Popos the first item out of the range
GetAncestorRange (FUN) ¶ FUNCTION GetAncestorRange : AncestorRange Returns the range of all ancestors of a given instance including this instance. InOut: Scope Name Type Comment Return GetAncestorRange AncestorRange Input itfM IModule The instance whose ancestors are of interest
GetChildRange (FUN) ¶ FUNCTION GetChildRange : SiblingRange Returns the range of all children of an instance. InOut: Scope Name Type Comment Return GetChildRange SiblingRange Input itfM IModule The instance whose child are of interest
GetDepthFirstRange (FUN) ¶ FUNCTION GetDepthFirstRange : DepthFirstRange Returns a range of all instances in the module tree in depth-first preorder of InOut: Scope Name Type Comment Return GetDepthFirstRange DepthFirstRange Input itfModule IModule The module which the depth first range shall use to start from
GetInstancePath (FUN) ¶ FUNCTION GetInstancePath : STRING(255) Returns the instance path of a module instance. The instance path is built by concatenating the instance names of all ancestors, starting from the toplevel module down until to the given instance. The instance names are separated by dots.l If the resulting instance name is longer than 255 characters, an empty string is returned. InOut: Scope Name Type Comment Return GetInstancePath STRING(255) Input itfM IModule The module instance for which the instance path is computed (must not be 0)