Main Content
Group 5: Classes (C++)
The custom rules 5.x
in Polyspace® enforce naming conventions for classes and class members. For information
on how to enable these rules, see Check custom rules
(-custom-rules)
.
Number | Rule | Details |
---|---|---|
5.1 | All class names must follow the specified pattern. | |
5.2 | All class types must follow the specified pattern. | Class types are aliases for previously defined classes (defined with
the typedef or using
keyword). |
5.3 | All names of data members must follow the specified pattern. | |
5.4 | All names of function members must follow the specified pattern. | |
5.5 | All names of static data members must follow the specified pattern. | |
5.6 | All names of static function members must follow the specified pattern. | |
5.7 | All bitfield members must follow the specified pattern. |