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
HashTableFactory.CreateDynamicHashtablePreAlloc (METH) ¶ METHOD FINAL CreateDynamicHashtablePreAlloc : IMap2 Creates a dynamic hashtable with pre allocation (see input uiPreAllocation). The base array of the hashtable will be increased earlier to reduce the amount of collisions when the hashtable fills up. Note: Function blocks which are created with this factory are NOT online change safe. InOut: Scope Name Type Comment Return CreateDynamicHashtablePreAlloc 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. uiPreAllocation UINT This value (in % related to the current maximum size) defines when the memory should be expanded. Output eError FBF.ERROR
HashTableFactory.prvInstCount (PROP) ¶ PROPERTY prvInstCount : CAA.COUNT
HashTableFactory.prvInstPoolExtendsFactor (PROP) ¶ PROPERTY prvInstPoolExtendsFactor : USINT
HashTableFactory.prvInstSize (PROP) ¶ PROPERTY prvInstSize : CAA.SIZE
LinkedListIterator.HasNext (METH) ¶ METHOD HasNext : BOOL Checks the next element. InOut: Scope Name Type Return HasNext BOOL
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