SetStrategyExecutor
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| INTERNAL | No | No | CNM_AbstractObject.Object | CNM_CollectionInterfaces.ISetStrategy |
UML Diagram
Parameters
none
Properties
className
Type: CNM_AbstractObject.ClassName
This abstract property returns the class name of the concrete object, …
instant
Type: CNM_CollectionInterfaces.IInstantSetStrategy
This property returns a fluent interface for immediate (wihtin one call) operations of sets.…
Methods
FB_init
- Parameters:
bInitRetains(BOOL): if TRUE, the retain variables are initialized (warm start / cold start)bInCopyCode(BOOL): if TRUE, the instance afterwards gets moved into the copy code (online change)set(ISetHelper): the set which this executor will dispatch
- Return type:
BOOL
The constructor FB_init is needed to create an unique hash code.…
getEqualObject
- Parameters:
object(CNM_CollectionInterfaces.CNM_AbstractObject.IObject): The object to search for
- Return type:
BOOL
Searches an object that is equal to the provided object in terms of the compareTo method (or a comparator provided by the parent).…
intersect
- Parameters:
set(CNM_CollectionInterfaces.ISet): foreign set to intersect withexecute(BOOL): If intersect should be processed
- Return type: CNM_CollectionInterfaces.CNM_ReturnTypes.SingleExecutionState
overwrites the content of this set with the intersection of this set and the given set…
merge
- Parameters:
set(CNM_CollectionInterfaces.ISet): foreign set to merge withexecute(BOOL): If merge should be processed
- Return type: CNM_CollectionInterfaces.CNM_ReturnTypes.SingleExecutionState
overwrites the content of this set with the union of this set and the given set…
subtract
- Parameters:
set(CNM_CollectionInterfaces.ISet): foreign set to construct substractionexecute(BOOL): If substract should be processed
- Return type: CNM_CollectionInterfaces.CNM_ReturnTypes.SingleExecutionState
overwrites the content of this set with the set difference of this set and the given set…
Code
Declaration
FUNCTION_BLOCK INTERNAL SetStrategyExecutor EXTENDS CNM_AbstractObject.Object IMPLEMENTS CNM_CollectionInterfaces.ISetStrategy
VAR
set :ISetHelper;
instantExecutor :InstantSetStrategyExecutor;
END_VAR