Primitives of this library can be found in the DE domain only, with them you can perform operations on enumeration types.
Name |
Description |
---|---|
EnumConst |
Generates an enumeration data structure with a user provided value. |
EnumGeneralSwitch |
Switches the input data to one of the outputs based on the input enumeration data structure value. |
EnumIsEqual |
Tests if two incoming data structures of enumeration type are equal or not. |
EnumIsEqualSwitch |
Switch an incoming data structure between two output ports base on the values of an enumeration. |
EnumRanGen |
Generates an enumeration with a random set value. |
EnumToInteger |
Takes an enumeration coming on the input port and outputs the index of its value. |
EnumToString |
Takes an enumeration coming on the input port and outputs the value as a string. |
EnumTotalElements |
Outputs the number of elements of the input ENUM data structure. |
EnumTotalElementsConst |
Outputs the number of elements of an ENUM data structure defined by a parameter. |
IntegerToEnum |
Generates an enumeration data structure. The name is specified as parameter and the value is the index coming on the input port. |
StringToEnum |
Creates an enumeration data structure whose value is specified by the input string. |