To accommodate various coding styles, Rational® Rhapsody® allows
you to specify where curly braces should be placed for namespaces,
classes, operations, enums, structs, and unions.
Curly brace style is controlled by the following properties:
- <lang>_CG::Package::OpeningBraceStyle (for
namespaces that have been defined)
- <lang>_CG::Class::OpeningBraceStyle
- <lang>_CG::Operation::OpeningBraceStyle
- <lang>_CG::Type::OpeningBraceStyle
For each of these properties, the possible values are:
Each of these properties can be set from the project level downward.
So if you want all the classes in your project to use a certain curly
brace style, you would set the value of the <lang>_CG::Class::OpeningBraceStyle property
at the project level.