|
Rational Rose 自动生成代码 (1)在Logical View 中 新建类 (2)Component View 中新建Component,类型为Exe,语言为 VC++(示例) (4)选中Logical View中的类,点击鼠标右键,选则Update Code。第一次生成时需指定dsw文件。 |
本文转自vcpro的博客 http://hi.baidu.com/vcpro/blog/item/8b5174f0bb2d8ec77931aa5a.html
本文介绍如何使用RationalRose自动生成代码。首先,在LogicalView中创建类;然后,在ComponentView中创建Component,并指定类型为Exe,语言为VC++;接着将类拖到Component上;最后通过右键菜单选择UpdateCode进行代码生成,并可通过UpdateModel更新UML图。
|
Rational Rose 自动生成代码 (1)在Logical View 中 新建类 (2)Component View 中新建Component,类型为Exe,语言为 VC++(示例) (4)选中Logical View中的类,点击鼠标右键,选则Update Code。第一次生成时需指定dsw文件。 |
本文转自vcpro的博客 http://hi.baidu.com/vcpro/blog/item/8b5174f0bb2d8ec77931aa5a.html
2万+

被折叠的 条评论
为什么被折叠?