language/duchain
KDevelop::DumpDotGraph Class Reference
A helper-class for debugging, that nicely visualizes the whole structure of a du-context. More...
#include <dumpdotgraph.h>
Public Member Functions | |
| QString | dotGraph (KDevelop::DUContext *context, bool shortened=false) |
Detailed Description
A helper-class for debugging, that nicely visualizes the whole structure of a du-context.
Definition at line 28 of file dumpdotgraph.h.
Member Function Documentation
| QString KDevelop::DumpDotGraph::dotGraph | ( | KDevelop::DUContext * | context, | |
| bool | shortened = false | |||
| ) |
The context, it's, and if it is not a top-context also all contexts importing it we be drawn.
Parent-contexts will not be respected, so if you want the whole structure, you will need to pass the top-context.
- Parameters:
-
shortened if this is given sub-items like declarations, definitions, child-contexts, etc. will not be shown as separate nodes isMaster must always be true when called from outside allFiles is for internal use only.
- Todo:
- maybe get this as a parameter
Definition at line 52 of file dumpdotgraph.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference