Generating operations for statechart serialization

IBM® Rational® Rhapsody® provides a mechanism for serialization of reactive instances. By setting a number of Rational Rhapsody properties, you can have methods added to the generated code, which you can then use to implement serialization.

About this task

Note: This feature is available only for C and C++ code.

The <lang>_CG::Statechart::StatechartStateOperations property determines whether the code is generated for this feature. The possible values for this property are:

Note: In C++, when using inheritance, a hierarchy of classes must use the same value for the CPP_CG::Statechart::StatechartStateOperations property.

Feedback