|
ENTITY format_function SUBTYPE OF (string_expression, binary_generic_expression); DERIVE value_to_format : generic_expression := SELF\binary_generic_expression.operands[1]; format_string : generic_expression := SELF\binary_generic_expression.operands[2]; WHERE WR1: (('ISO13584_EXPRESSIONS_SCHEMA.NUMERIC_EXPRESSION') IN TYPEOF(value_to_format)) AND (('ISO13584_EXPRESSIONS_SCHEMA.STRING_EXPRESSION') IN TYPEOF(format_string)); END_ENTITY; -- format_function |
Entity data types and their attributesgeneric_expression- expression - string_expression - binary_generic_expression operands: LIST [2:2] OF generic_expression; format_function (DER) value_to_format: generic_expression; (DER) format_string: generic_expression; |
Global rules for this entity data type- |