Generating standard operations
You may want to use standard operations for a number of purposes, such as copy constructors, serialization, or overriding virtual operations of a base class. IBM® Engineering Systems Design Rhapsody® provides a mechanism for including standard operations in the generated code.
The mechanism for generating standard operations involves:
- specifying the code for each standard operation in the site.prp file
- specifying which of the standard operations should be generated for a specific class by listing the operations in the value of the property CG::Class::StandardOperations