gpt4 book ai didi

c++ - 从 Visio UML 图创建 C++ 代码

转载 作者:太空狗 更新时间:2023-10-29 19:50:32 24 4
gpt4 key购买 nike

<分区>

Visio 2010 Beta 可以从 native C++ 项目生成静态 UML 图,非常棒。如何解决逆向问题:给定来自 Visio 的静态 UML 图,生成头文件?

或者,也许有免费的架构开发和逆向工程工具?

编辑一般来说,我不需要严格的 UML 图表。他们应该足够清楚,以便在设计应用程序、实现和支持期间查看它们并理解类。但它必须具有逆向工程和生成代码的特性。

我会在几天内尝试使用提供的替代方案,然后写一些比较。

  1. ArgoUML我试图导入我现有的代码但失败了。原因是 C++ 支持是 pre-alpha。尚不支持该语言的许多结构。从导入时显示的 MessageBox:

The C++ reverse engineering module is pre-alpha stage. Its known limits are:

* very few C++ constructs are supported, e.g., enums, unions, templates, etc, aren't;
* no support for non-member variables and functions;
* no integration with the C++ generator => RTE won't work!;
* no operator overload support;
* very immature, certainly this list needs to grow!

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com