Appendix A. Code Generation and Reverse Engineering with C

I l @ ve RuBoard

Appendix A. Code Generation and Reverse Engineering with C++

This appendix contains a step-by-step guide to Classic C++ code generation and reverse engineering. This generator is not turned on by default. To turn it on, select the Add-Ins: Add In Manager menu choice, select the Rose C++ add-in and click the OK button.

Code Generation Steps

Step 1. Create Needed Property Sets

Step 2. Create Body Components in the Component Diagram

Step 3. Assign the C++ Language to the Components

Step 4. Assign Classes to Components

Step 5. Attach Property Sets to Modeling Elements

Step 6. Select the Components and Generate the Code

Step 7. Evaluate the Code Generation Errors

Reverse Engineering Steps

Step 1. Create a Project

Step 2. Add a Project Caption

Step 3. Add Referenced Libraries and Base Projects

Step 4. Set the File Type and Analyze the Files

Step 5. Evaluate the Errors

Step 6. Select Export Options and Export to Rose

Step 7. Update Rose Model

I l @ ve RuBoard


Visual Modeling with Rational Rose 2002 and UML
Visual Modeling with Rational Rose 2002 and UML (3rd Edition)
ISBN: 0201729326
EAN: 2147483647
Year: 2002
Pages: 134

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net