In IBM® Rational® Rhapsody®,
you can create anonymous instances that you manage yourself, or create
instances as components of composite instances that are managed by
the composite framework.
Creating anonymous instances
You can create anonymous instances, apply the C++ new operator
as in any conventional C++ program. IBM Rational Rhapsody generates
a default constructor (ctor) for every class in the
system. You can add additional constructors using the browser.
Deleting anonymous instances
In IBM Rational Rhapsody,
you manage anonymous instances yourself. As a result, it is your responsibility
to delete them. Components of composite instances are managed by the
composite. To delete them, you must make an explicit request of the
composite object.