类依赖工具 [英] Class dependency tool

查看:107
本文介绍了类依赖工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找(最好是开放源代码)工具,给定大量的C / C ++代码,将生成可视化或可能的类图(C ++)和/或文件(C)之间的依赖关系的XML图形。

I'm looking for a (preferably open source) tool that, given a large body of C/C++ code, will generate a visual or maybe XML graph of dependencies between classes (C++) and/or files (C).

想法是,如果你必须将代码转换成另一种语言,你希望能够首先获得最低级别的编译,然后构建从那里起。所以,你首先需要确定哪些类。

The idea would be that, if you had to convert the code to another language, you'd like to be able to get the lowest level classes compiling first, and build up from there. So, you'd first need to identify which classes those are.

据我所知,Doxygen没有这样的功能,但是我可能是错的

As far as I can tell, Doxygen doesn't have quite this capability, but I could be wrong.

推荐答案

Doxygen 会做一些漂亮的图形。

Doxygen will do some pretty neat graphs.

这篇关于类依赖工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆