Generating classes as structs in C++

You can have one or more classes generated as structs,

About this task

When generating C++ code, IBM® Engineering Systems Design Rhapsody® generates classes in your model as C++ classes in the code. While this is the default behavior, it is also possible to have the product generate classes as structs in your C++ code. To have one or more classes generated as structs, modify the value of the CPP_CG::Class::GenClassAsStruct property.