Element Collections (LIB)
- Version
3.5.17.0
- Namespace
COL
- Author
3S - Smart Software Solutions GmbH
- Placeholder
ElementCollections
Description 1
This library provides functions blocks and interfaces to store object references in predefined data structures like Lists, Queues, Stacks and Hashtables. Elements of a collection must implement the interface IElement.
NOTE: Online change behavior when the declaration of an element has been changed:
List, SortedList, Queue, Stack and HashTable:
Collections created dynamically via a factory are NOT online-change-safe.
Statically created collections are online-change-safe, if the contained elements were also generated statically.
A statically generated collection with dynamically generated elements is NOT online-change-safe.
HashTable: The values of ElementHashcode must be constant and can not be changed during an online change. The comparison values of ElementEquals MUST NOT be changed.
A SortedList is automatically re-sorted after an OnlineChange if the input
xSortAfterOnlineChangeis set to TRUE.Deleted items are not automatically removed from a collection after an online change.
LinkedList:
A statically created LinkedList is online-change-safe for statically created elements. Condition is that the elements implement
FB_reinitand the methodUpdateElement (itfElement: = THIS ^);of the IOnlineChangeSafeLinkedListElement interface.Deleted items are not automatically removed from a LinkedList after an OnlineChange.
An element of type IOnlineChangeSafeLinkedListElement can be assigned to only one instance of a LinkedList.
Contents:
ElementCollectionsEnumsFunction BlocksElementsBoolElement(FB)BoolElementFactory(FB)DintElement(FB)DintElementFactory(FB)IntElement(FB)IntElementFactory(FB)LinkedListElementBase(FB)LintElement(FB)LintElementFactory(FB)NullElement(FB)StringElement(FB)StringElementFactory(FB)TimeElement(FB)TimeElementFactory(FB)UdintElement(FB)UdintElementFactory(FB)UintElement(FB)UintElementFactory(FB)UlintElement(FB)UlintElementFactory(FB)WStringElement(FB)WStringElementFactory(FB)
HashTableHashTable(FB)HashTable.AddKeyValuePair(METH)HashTable.ContainsKey(METH)HashTable.CountKeys(METH)HashTable.ElementCompareTo(METH)HashTable.ElementEquals(METH)HashTable.ElementHashCode(METH)HashTable.GetElementByKey(METH)HashTable.Keys(METH)HashTable.RemoveAllElements(METH)HashTable.RemoveByKey(METH)HashTable.Values(METH)
HashTableFactory(FB)
IteratorsLinkedListLinkedList(FB)LinkedList.AddElement(METH)LinkedList.ContainsElement(METH)LinkedList.CountElements(METH)LinkedList.ElementCompareTo(METH)LinkedList.ElementEquals(METH)LinkedList.ElementHashCode(METH)LinkedList.ElementIterator(METH)LinkedList.RemoveAllElements(METH)LinkedList.RemoveElement(METH)LinkedList.RemoveFirstElement(METH)LinkedList.RemoveLastElement(METH)
LinkedListFactory(FB)
ListList(FB)List.AddElement(METH)List.ContainsElement(METH)List.ContainsValue(METH)List.CountElements(METH)List.ElementCompareTo(METH)List.ElementEquals(METH)List.ElementHashCode(METH)List.ElementIterator(METH)List.GetElementAt(METH)List.GetElementPosition(METH)List.InsertElementAt(METH)List.RemoveAllElements(METH)List.RemoveElement(METH)List.RemoveElementAt(METH)List.SetElementAt(METH)
ListFactory(FB)
QueueQueue(FB)Queue.AddElement(METH)Queue.ContainsElement(METH)Queue.ContainsValue(METH)Queue.CountElements(METH)Queue.ElementCompareTo(METH)Queue.ElementEquals(METH)Queue.ElementHashCode(METH)Queue.ElementIterator(METH)Queue.Peek(METH)Queue.Poll(METH)Queue.RemoveAllElements(METH)Queue.RemoveElement(METH)
QueueFactory(FB)
SortedListSortedList(FB)SortedList.AddElement(METH)SortedList.AddElementWithoutSorting(METH)SortedList.ContainsElement(METH)SortedList.ContainsValue(METH)SortedList.CountElements(METH)SortedList.ElementCompareTo(METH)SortedList.ElementEquals(METH)SortedList.ElementHashCode(METH)SortedList.ElementIterator(METH)SortedList.GetElementAt(METH)SortedList.GetElementPosition(METH)SortedList.InsertElementAt(METH)SortedList.RemoveAllElements(METH)SortedList.RemoveElement(METH)SortedList.RemoveElementAt(METH)SortedList.SetElementAt(METH)SortedList.Sort(METH)
SortedListFactory(FB)
StackStack(FB)Stack.AddElement(METH)Stack.ContainsElement(METH)Stack.ContainsValue(METH)Stack.CountElements(METH)Stack.ElementCompareTo(METH)Stack.ElementEquals(METH)Stack.ElementHashCode(METH)Stack.ElementIterator(METH)Stack.Peek(METH)Stack.Pop(METH)Stack.RemoveAllElements(METH)Stack.RemoveElement(METH)
StackFactory(FB)
TreeNodeTreeNode(FB)TreeNode.AddChild(METH)TreeNode.Children(METH)TreeNode.ContainsChild(METH)TreeNode.CountChildren(METH)TreeNode.Element(PROP)TreeNode.ElementCompareTo(METH)TreeNode.ElementEquals(METH)TreeNode.ElementHashCode(METH)TreeNode.MoveNode(METH)TreeNode.Parent(METH)TreeNode.RemoveChild(METH)TreeNode.RootNode(METH)
TreeNodeFactory(FB)
FunctionsGlobalVariablesInterfacesCollectionsElementsIterators
Structs
Library Information
Indices and tables
- 1
- Based on Element Collections.library, last modified 20.04.2021, 14:47:07. LibDoc 4.3.0.0The content file Element Collections.library.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 14:47:07.