IList.GetElementAt (METH) ¶ METHOD GetElementAt : COLLECTION_ERROR Get element itfElement at the position udiPosition. InOut: Scope Name Type Comment Return GetElementAt COLLECTION_ERROR Input udiPosition UDINT Position of the element Output itfElement IElement The element at position udiPosition
IList.GetElementPosition (METH) ¶ METHOD GetElementPosition : COLLECTION_ERROR Gets the position of element itfElement InOut: Scope Name Type Comment Return GetElementPosition COLLECTION_ERROR Input itfElement IElement The element to get the position. Output udiPosition UDINT The poistion of the element itfElement.
StackFactory.prvInstSize (PROP) ¶ PROPERTY prvInstSize : CAA.SIZE
TreeNode.AddChild (METH) ¶ METHOD AddChild : COLLECTION_ERROR Adds an child element to this node. InOut: Scope Name Type Comment Return AddChild COLLECTION_ERROR Input itfElement IElement The element to add Output itfTreeNode ITreeNode The corresponding tree node
TreeNode.Children (METH) ¶ METHOD Children : COLLECTION_ERROR Gets an iterator with all children of this node. The iterator contains objects of the type ITreeNode . InOut: Scope Name Type Comment Return Children COLLECTION_ERROR Input itfIterator IIterator LinkedListIterator with child objects of the type ITreeNode .
TreeNode.ContainsChild (METH) ¶ METHOD ContainsChild : COLLECTION_ERROR Checks if this node contains the child element itfElement . InOut: Scope Name Type Comment Return ContainsChild COLLECTION_ERROR Input itfElement IElement The element to check Output xResult BOOL True, if this node contains the element itfElement.
TreeNode.CountChildren (METH) ¶ METHOD CountChildren : UDINT Get the number of children of this node. InOut: Scope Name Type Return CountChildren UDINT
TreeNode.Element (PROP) ¶ PROPERTY Element : IElement The element of the node.
TreeNode.ElementCompareTo (METH) ¶ METHOD ElementCompareTo : INT Compares this element with itfElement . Returns 0 if the elements are equal, < 0 if the element is less than itfElement , > 0 if the element is greater than itfElement . This method will be called from sorted collections (e.g. SortedList ) to sort elements. IMPORTANT: The underlying value to be compared with MUST NOT be changed during the lifecycle of the object. InOut: Scope Name Type Comment Return ElementCompareTo INT Input itfElement IElement The element to compare
TreeNode.ElementEquals (METH) ¶ METHOD ElementEquals : BOOL Returns true of this element and itfElement are equal. This method will be called from the function block HashTable to find an element by key if the hashcode of an element collides with an other element. IMPORTANT: The underlying value to be compared with MUST NOT be changed during the lifecycle of the object. InOut: Scope Name Type Comment Return ElementEquals BOOL Input itfElement IElement The element to compare