Type name structure#
Type Name Structure
Description#
Type shall start/end with specific characters _t, t_, Type_.
Rule parameters are given as a comma-separated list. Parameters are:
prefix
: expected type name prefix. Default value is empty (no prefix).suffix
: expected type name suffix. Default value is_t
.
Rationale#
This enhances the readability of a model through homogeneous naming.
Verification#
The rule registers to named types and raises a violation when:
The name does not match the expected prefix
Message:
Type name does not start with <prefix>
The name does not match the expected suffix
Message:
Type name does not end with <suffix>
Resolution#
Rename the offending type.
Customization#
N/A.