![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Rose > C++ > Visualize (Closure)The Rose > C++ > Visualize (Closure) command performs a similar function to the Rose > C++ > Visualize command. The difference is that Rose > C++ > Visualize (Closure) applies to all the source files in the import closure of the current view. This command is only available in an Apex directory viewe and if the Rose product is installed.
The Rose > C++ > Visualize (Closure) command requires the sienna of the selected source file(s). To generate sienna of a source file, the file needs to be coded with sienna generation (this is a default setting for Apex C++ compiler). For a header file, the corresponding implementation file that includes it should be coded. Please refer to Compile > Code for the details of compilation.
To visualize all the files in the import closure of the current view, select the Rose > C++ > Visualize (Closure) command.
This command completes the following actions:
- 1. . Checks whether a closure model file already exists for the import closure. If true, skips to Step 6.
- 2. . Brings up the Rose Analyzer if it is not already running.
- 3. . If the project file does not exist, the Rose Analyzer builds it. This project file contains all the files in the import closure. The newly created project file is named _closure.pjt and is stored in the .Rational/Rose_Projects subdirectory of the view.
- 4. . The Rose Analyzer runs the "Export to Rose" command on all the files listed in the project file to generate a model file. The export option used is an Apex-specific, round-trip engineering option. The model file, named _closure.red, is stored in the .Rational/Rose_Models subdirectory of the view.
- 5. . The property file to be associated with the model file is generated in the same directory as the model file, and named closure.pty.
- 6. . The Rose window is raised to display the model file.
The messages for this process are displayed in the Apex Message window and the Log windows of Rose and Rose Analyzer. The model can then be examined from the Rose window. The Rose > C++ > Visualization Summary command can be used to examine the source file(s) used to produce the model.
This product is described in the Rose Developer User's Guide.
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2001, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |