Primitives of this library can be found both in the DE and SDF domain, with them you can perform operations on composite data structures.
Name |
Description |
---|---|
AddFieldParamDS |
Add a constant value to a particular field of the input data structure. The field must be of a numerical or string type. |
AddFieldValueDS |
Add a constant value to a particular field of the input data structure. The field must be of a numerical type. |
CoerceDS |
Coerce a data structure coming on the input to another specified type. |
CreateDS |
Primitive used to instantiate a data structure. |
CreateParamDS |
Instantiate a data structure with the values specified in the parameter. |
DSToFloat |
Converts a Float base data structure to a scalar type float. |
DSToInt |
Converts an Integer base data structure to an integer scalar type. |
DSToString |
Converts a base data structure to a string. |
DeclareDS |
Tests if an input data structure is of a specified type. |
InsertFieldDS |
A data structure arriving on an input port gets inserted as a field into a composite data structure. |
InsertFieldParamDS |
Inserts a data structure specified in a datastruct parameter as a field into a composite data structure. |
InsertTNowDS |
Sets a selected field of the input data structure with the current execution time and then places the modified data structure on the output port. (Only available in the DE domain) |
PrintDS |
Primitive used to print on the standard output the values of a data structure. |
SelectFieldDS |
Selects a field from a composite data structure and outputs it on a port. |
SetFieldValueDS |
Primitive to set the value of a field of a data structure. The field must be of a base type, and the field name and the value are provided by the dsFieldName, and dsFieldValue parameters. |
TypeConst |
Puts on the output port a specified data structure. |
TypeIsCompatible |
Tests if two incoming data structures are compatible. |
TypeIsEqual |
Tests if two incoming data structures are equal. |
TypeSwitchDS |
The incoming data structure is placed on one of the two outputs depending on its compatibility with the specified type. |