Not recommended operators#
Not recommended operators
Description#
Specific predefined SCADE operators should not be used: reverse (46), transpose (47), slice (51), Concatenation (52)
The rule parameter is a comma-separated string containing predefined operator identifiers.
Available identifiers are documented in the SCADE Python API guide, under section Access to Predefined Operators in Python.
Default parameter value is 46, 47, 51, 52
(Reverse, Transpose, Slice, Concatenation).
Rationale#
This enforces compliance with a specific modeling standard by ensuring that a given list of predefined operators is avoided in diagrams.
Note: this is a lighter version of rule Forbidden Operators: its severity is ADVISORY
.
Verification#
This rule checks all operator calls in a model and fails if one of the listed operators is used.
Resolution#
Modify the offending operator calls as detailed in the rule failure message.
Customization#
N/A.
See also
Rule Forbidden Operators