List.RemoveElement (METH) ¶ METHOD RemoveElement : COLLECTION_ERROR Removes the element itfElement from the collection. InOut: Scope Name Type Comment Return RemoveElement COLLECTION_ERROR Input itfElement IElement The element to remove.
List.RemoveElementAt (METH) ¶ METHOD RemoveElementAt : COLLECTION_ERROR Remove element from position udiPosition . InOut: Scope Name Type Comment Return RemoveElementAt COLLECTION_ERROR Input udiPosition UDINT Remove position
List.SafeElementIterator (METH) ¶ METHOD SafeElementIterator : COLLECTION_ERROR Returns an thread safe iterator over all elements. InOut: Scope Name Type Return SafeElementIterator COLLECTION_ERROR Input itfIterator ISafeListIterator
List.SetElementAt (METH) ¶ METHOD SetElementAt : COLLECTION_ERROR Sets the element itfElement at the position udiPosition . Existing elements will be replaced. InOut: Scope Name Type Comment Return SetElementAt COLLECTION_ERROR Input udiPosition UDINT Set position itfElement IElement The element to set at udiPosition
ListFactory.Create (METH) ¶ METHOD FINAL Create : IList3 Creates a IList Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Return Create IList3 Input udiMaxElements UDINT Output eError FBF.ERROR
ListFactory.CreateDynamicList (METH) ¶ METHOD FINAL CreateDynamicList : IList2 Creates a dynamic list. Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return CreateDynamicList IList2 Input udiInitialSize UDINT Initial size of elements. Must not be 0. uiGrowFactor UINT Grow factor for dynamic memory reallocation if the number of elements is greater than udiInitialSize. Use 1 to disable dynamic memory reallocation. Output eError FBF.ERROR
SortedList.ElementHashCode (METH) ¶ METHOD ElementHashCode : LINT Returns the hashcode of this element. InOut: Scope Name Type Return ElementHashCode LINT
SortedList.ElementIterator (METH) ¶ METHOD ElementIterator : COLLECTION_ERROR Returns an iterator over all elements. InOut: Scope Name Type Return ElementIterator COLLECTION_ERROR Input itfIterator IIterator
SortedList.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
SortedList.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.