Delphi 7:如何生成类层次结构?
我正在寻求理解 Delphi 7 中其他人的代码(我怀疑较新的版本内置了此代码,但我不想为最新版本支付 > 1k 美元)。
他们有任何(最好是FOSS)工具可以帮助我生成类层次结构图吗?
其实GExperts中的类浏览器就可以了。也许不如公认的答案那么好,但只是众多工具中的一个
I am seeking to understand someone else's code in Delphi 7 (I suspect that newer version have this built in, but I don't want to spring > $1k for the newest version).
Are their any (preferably FOSS) tools which will help me generate a class hierarchy diagram?
Actually, the class browser in GExperts is ok. Maybe not as good as the accepted answer, but just one of a great collection of tools
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Doc-o-matic 的文档生成器创建类层次结构。他们有免费的快速版本,您可以尝试一下。
Doc-o-matic's documentation generator creates class hierarchies. They have a free express version you can try.
您可以使用SourceForge 中的 ESS 模型。
如果您加载和.PAS(也.DPR,.CLASS,...)一些类,该程序会生成类图和一些文档。它是免费的,您可以访问代码源。
问候
You can use ESS-model from SourceForge.
If you Load and .PAS (also .DPR, .CLASS,...) with some classes this program generate a Class Diagram and some Documentation. It's free and you can access to code source.
Regards
AFAIK ModelMaker 6.2 包含在 Delphi 7 中,它是一个 UML 工具。您可以在其中导入源代码并生成类图等,我真的不记得它的所有功能了,但我确实记得 ModelMaker 是很棒的工具,它确实值得一看。
更新:Model Maker(现在的 MMX)现在对所有受支持的 Delphi IDE 免费
AFAIK ModelMaker 6.2 was included with Delphi 7, it's a UML tool. You can import your source code in it and generate class diagrams etc, I really don't remember anymore all of it's features, but I do remember that ModelMaker is awesome tool and it's sure worth a look.
Update: Model Maker (now MMX) is now free for all supported Delphi IDEs
您可以查看我们的SynProject 工具。
Synopse SynProject 是一个开源应用程序,用于 Delphi 项目的代码源版本控制和自动化文档编制。
有一个 pascal 源解析器,它将创建所有类层次结构文档。
它不仅仅是一个解析器:您可以以集成的方式编写整个规范/架构/设计/测试/发布文档列表。
上面的链接中有一些教程、屏幕截图和生成的文档示例。
You can take a look at our SynProject tool.
Synopse SynProject is an open source application for code source versioning and automated documentation of Delphi projects.
There is a pascal source parser, which will create all classes hierarchy documentation.
And it's much more than a parser: you can write the whole Specifications/Architecture/Design/Test/Release documents list in an integrated manner.
There are some tutorials, screenshots and resulting documentation sample in the above link.
Peganza 的 Pascal 分析器(非 FOSS)
Peganza's Pascal Analyzer (not FOSS)