ibm Rational Rhapsody 7.5 — Overloading Operators

Overloading Operators To watch the various constructors and overloaded operators as they are being called: 1. Assign animation instrumentation to the project by selecting Code > Set Configuration > Edit > Setting tab . 2. Make and run DefaultConfig.exe . 3. Using the animator, create an animated sequence diagram (ASD) that includes the MainClass and instances Complex[0]:Complex , Complex[1]:Complex , and Complex[2]:Complex . 4. Click Go on the Animation bar to watch the constructor and overloaded operator messages being passed between the MainClass and its part instances. The ASD will be similar to the following figure. Rational Rhapsody 953