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).

NumberRuleDetails
5.1All class names must follow the specified pattern. 
5.2All class types must follow the specified pattern.Class types are aliases for previously defined classes (defined with the typedef or using keyword).
5.3All names of data members must follow the specified pattern. 
5.4All names of function members must follow the specified pattern. 
5.5All names of static data members must follow the specified pattern. 
5.6All names of static function members must follow the specified pattern. 
5.7All bitfield members must follow the specified pattern.