Using SoftBench Class Graph/Editor
Editing C++ Structures with SoftBench Class Graph/EditorEditing C++ Structures with SoftBench Class Graph/Editor
The class hierarchies and other data structures in C++ can be understood much more easily when they are presented in a graphical format. Static Graphs provide an excellent tool for viewing these structures.
The SoftBench Class Graph/Editor in SoftBench Static Analyzer also allows you to edit C++ structures in the graphical display. While viewing the graphical representation of C++ structures, you can add, modify, or delete classes, class components, and component definitions.
SoftBench Class Graph/Editor helps you to become much more productive in your C++ programming. You can understand, create, and modify C++ programs much more quickly using the
SoftBench Class Graph/Editor requires the Static Analysis database used by SoftBench Static Analyzer. If you try to use SoftBench Class Graph/Editor with a directory or project that does not contain a Static Analysis database, SoftBench Static Analyzer may create one for you using your new and existing C++ code. Building your code with the
■Static option produces a more reliable database.
Understanding the SoftBench Class Graph/Editor Use ModelWhen you edit using SoftBench Class Graph/Editor, several different files and programs are involved including your source files, the static analysis database, the SoftBench Class Graph/Editor program, and your compiler. See Figure
In order to use SoftBench Class Graph/Editor, the graph and the Static Analysis database must accurately reflect the source files. However, SoftBench Class Graph/Editor and other editors may change the source files, and any changes to the sources must be reflected in the database.
134 | Chapter 5 |