IMap.AddKeyValuePair (METH) ¶ METHOD AddKeyValuePair : COLLECTION_ERROR Add a key value pair to the map. InOut: Scope Name Type Comment Return AddKeyValuePair COLLECTION_ERROR Input itfKey IElement The key itfValue IElement The value
IMap.ContainsKey (METH) ¶ METHOD ContainsKey : COLLECTION_ERROR Check if the map contains the key itfKey. InOut: Scope Name Type Comment Return ContainsKey COLLECTION_ERROR Input itfKey IElement The key to check Output xResult BOOL True if the map contains itfKey
IMap.CountKeys (METH) ¶ METHOD CountKeys : UDINT Returns the number of entries of the map. InOut: Scope Name Type Return CountKeys UDINT
SortedList.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
SortedList.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
SortedList.Sort (METH) ¶ METHOD Sort : COLLECTION_ERROR Sorts the list by calling ElementCompareTo of IElement . InOut: Scope Name Type Return Sort COLLECTION_ERROR
SortedListFactory.Create (METH) ¶ METHOD FINAL Create : ISortedList3 Creates a sorted list Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Return Create ISortedList3 Input udiMaxElements UDINT Output eError FBF.ERROR
SortedListFactory.CreateDynamicList (METH) ¶ METHOD FINAL CreateDynamicList : ISortedList2 Creates a dynamic sorted list. Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return CreateDynamicList ISortedList2 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
SortedListFactory.prvInstCount (PROP) ¶ PROPERTY prvInstCount : CAA.COUNT
SortedListFactory.prvInstPoolExtendsFactor (PROP) ¶ PROPERTY prvInstPoolExtendsFactor : USINT