Rational Rose 自动生成代码

Rational Rose 自动生成代码

(1)在Logical View 中 新建类

(2)Component View 中新建Component,类型为Exe,语言为 VC++(示例)

(3)选中Logical View中的类,拖到Component上

(4)选中Logical View中的类,点击鼠标右键,选则Update Code。第一次生成时需指定dsw文件。

(5)选中Logical View中的类,点击鼠标右键,选中Update Model,可以更新uml图。

                            

本文转自vcpro的博客 http://hi.baidu.com/vcpro/blog/item/8b5174f0bb2d8ec77931aa5a.html

你可能感兴趣的:(Rational Rose 自动生成代码)