简体   繁体   English

需要一个工具来获取现有项目的C ++继承层次结构吗?

[英]Need a tool to get C++ Inheritance Hierarchy of existing project?

I am trying to understand WebKit (2 Million lines of C++ code). 我试图理解WebKit(200万行C ++代码)。 I want a tool which takes a class name as input and tell me the names of all classes which inherit from it. 我想要一个以类名作为输入并告诉我所有从其继承的类的名称的工具。

For example, if I pass in "RenderObject" it should return RenderInline, RenderBox. 例如,如果我传入“ RenderObject”,则应返回RenderInline,RenderBox。

I am using Fedora 13 and for debugging purpose I am using QtCreator IDE. 我正在使用Fedora 13,并且出于调试目的,我正在使用QtCreator IDE。

I'd use doxygen to generate hierarchy graphs and class listings. 我将使用doxygen生成层次结构图和类列表。 The output is similar to javadoc's. 输出类似于javadoc的输出。 GraphViz can be used with Doxygen to generate beautiful graphs, but is optional. GraphViz可以与Doxygen一起使用以生成漂亮的图形,但它是可选的。

By the way, isn't there already a documentation for Webkit ? 顺便说一句,还没有Webkit的文档吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM