IBM® Rational® Rhapsody® automatically
generates operations to create, initialize, clean up, and destroy
objects. Object constructors include creators and initializers; object
destructors include cleanup and destroy operations.
Object creator
The object creation operation
creates an object and calls
its initializer. Its name has the format <object>_Create().
Object initializer
The initialization function
initializes the attributes
and links of an instance. The initializer assumes that memory has
previously been allocated for the object (either statically or dynamically).
The object initializer name has the format <object>_Init().