LinkedListIterator.Next (METH) ¶ METHOD Next : COLLECTION_ERROR Get the next element itfElement. Returns COLLECTION_ERROR.NO_MORE_ELEMENTS if the end of the iteration has been reached. InOut: Scope Name Type Return Next COLLECTION_ERROR Output itfElement IElement
ListIterator.HasNext (METH) ¶ METHOD HasNext : BOOL Checks the next element. InOut: Scope Name Type Return HasNext BOOL
ListIterator.Next (METH) ¶ METHOD Next : COLLECTION_ERROR Get the next element itfElement. Returns COLLECTION_ERROR.NO_MORE_ELEMENTS if the end of the iteration has been reached. InOut: Scope Name Type Return Next COLLECTION_ERROR Output itfElement IElement
SafeLinkedListIterator.Next (METH) ¶ METHOD Next : COLLECTION_ERROR Get the next element itfElement. The method MUST be called until the error NO_MORE_ELEMENTS or another error is returned. This is necessary so that prvInstRelease of the element is called safely for the last element. Returns COLLECTION_ERROR.NO_MORE_ELEMENTS if the end of the iteration has been reached or COLLECTION_ERROR.COLLECTION_CHANGED if the collection has been changed. InOut: Scope Name Type Return Next COLLECTION_ERROR Output itfElement IElement
SafeListIterator.Next (METH) ¶ METHOD Next : COLLECTION_ERROR Get the next element itfElement. The method MUST be called until the error NO_MORE_ELEMENTS or another error is returned. This is necessary so that prvInstRelease of the element is called safely for the last element. Returns COLLECTION_ERROR.NO_MORE_ELEMENTS if the end of the iteration has been reached or COLLECTION_ERROR.COLLECTION_CHANGED if the collection has been changed. InOut: Scope Name Type Return Next COLLECTION_ERROR Output itfElement IElement
HashTable.SafeKeys (METH) ¶ METHOD SafeKeys : COLLECTION_ERROR Returns an thread safe iterator over all keys. InOut: Scope Name Type Return SafeKeys COLLECTION_ERROR Input itfIterator ISafeListIterator
HashTable.SafeValues (METH) ¶ METHOD SafeValues : COLLECTION_ERROR Returns an thread safe iterator over all values. InOut: Scope Name Type Return SafeValues COLLECTION_ERROR Input itfIterator ISafeListIterator
HashTable.Values (METH) ¶ METHOD Values : COLLECTION_ERROR Returns an iterator over all values. InOut: Scope Name Type Return Values COLLECTION_ERROR Input itfIterator IIterator
HashTableFactory.Create (METH) ¶ METHOD FINAL Create : IMap3 Creates a hashtable. Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return Create IMap3 Input udiMaxElements UDINT Maximum number of elements. Output eError FBF.ERROR
HashTableFactory.CreateDynamicHashtable (METH) ¶ METHOD FINAL CreateDynamicHashtable : IMap2 Creates a dynamic hashtable. Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return CreateDynamicHashtable IMap2 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