如何使用 Rational Rose 从源代码重新设计设计

发布于 2024-09-17 09:55:38 字数 187 浏览 4 评论 0原文

我想使用 Rational Rose 从现有源代码创建类图。

我有 VC++ 6 MFC 项目,并且安装了 Rational Rose Enterprise Edition 版本 2003.06.16。现在我想重新设计该项目以从源代码创建设计(类图)。请帮助我逐步完成此操作,我无法从互联网上获得好的文档。已经这样做过的人可以帮助我......

I would like to create class diagram from existing source code using rational rose.

I have VC++ 6 MFC project and I installed Rational Rose Enterprise Edition Version 2003.06.16. Now I would like to re-engineering the project to create design(class diagram) from the source code. Pls help me step-by-step process to do this, I couldn't get a good doc from internet. One who did this already can help me...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸢与 2024-09-24 09:55:38

这很简单。您创建一个新项目,添加一个组件(代表您的应用程序),在属性中指定源文件,单击“逆向工程”和“Presto:混乱的混乱”。然后你开始拖动东西,将相关组移动到不同的视图,等等。

我会警告你,你可能会对你得到的模型感到失望。除了 MFC 组件(您需要将其隐藏起来,以免它们使您的模型变得混乱)之外,您可能会发现大多数应用程序都是一堆不相关的类。至少我通常是这样发现的。

这是一个 Rational Rose C++ 教程 [DOC],应该让你开始吧。

It's pretty simple. You create a new project, add a component (represents your app), specify the source files in the properties, click Reverse Engineer and Presto: A tangled mess. Then you start dragging things around, moving related groups to different views, etc.

I will caution you that you may be disappointed with the model you get. Apart from the MFC components (which you will want to tuck away so they don't clutter your model), you may find that most of the app is a bunch of unrelated classes. At least that's what I usually found.

Here's a Rational Rose C++ tutorial [DOC] that should get you started.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文