views:

68

answers:

2

I am trying to understand WebKit (2 Million lines of C++ code). 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.

I am using Fedora 13 and for debugging purpose I am using QtCreator IDE.

+4  A: 

I'd use doxygen to generate hierarchy graphs and class listings. The output is similar to javadoc's. GraphViz can be used with Doxygen to generate beautiful graphs, but is optional.

By the way, isn't there already a documentation for Webkit ?

Samuel_xL
No there is no documentation for webkit, :-)
Sunny
Thanks, It worked, doxygen documented whole webcore in just 2 mins. Amazing!!!
Sunny
+1  A: 

Understand for C++ http://www.scitools.com/

Lior Kogan