The DotCallGraph
Class Reference
Representation of an call graph. More...
Declaration
Included Headers
Base class
class | DotGraph |
A dot graph. More... | |
Public Constructors Index
DotCallGraph (const MemberDef *md, bool inverse) | |
Public Destructor Index
~DotCallGraph () override | |
Public Member Functions Index
bool | isTrivial () const |
bool | isTooBig () const |
int | numNodes () const |
QCString | writeGraph (TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1) |
Protected Member Functions Index
QCString | getBaseName () const override |
QCString | getMapLabel () const override |
void | computeTheGraph () override |
Private Member Functions Index
void | buildGraph (DotNode *n, const MemberDef *md, int distance) |
void | determineVisibleNodes (DotNodeDeque &queue, int &maxNodes) |
void | determineTruncatedNodes (DotNodeDeque &queue) |
Private Member Attributes Index
DotNode * | m_startNode |
DotNodeMap | m_usedNodes |
bool | m_inverse |
QCString | m_diskName |
const Definition * | m_scope |
Public Static Functions Index
static bool | isTrivial (const MemberDef *md, bool inverse) |
Description
Representation of an call graph.
Definition at line 26 of file dotcallgraph.h.
Public Constructors
DotCallGraph()
|
Declaration at line 29 of file dotcallgraph.h, definition at line 120 of file dotcallgraph.cpp.
References Definition::anchor, Definition::briefDescriptionAsTooltip, buildGraph, Config_getBool, Config_getInt, determineTruncatedNodes, determineVisibleNodes, DotGraph::DotNode, FALSE, Definition::getLanguage, Definition::getOuterScope, Definition::getOutputFileBase, getUniqueId, linkToText, m_diskName, m_inverse, m_scope, m_startNode, m_usedNodes, Definition::name, Definition::qualifiedName, QCString::str and TRUE.
Public Destructor
~DotCallGraph()
|
Declaration at line 30 of file dotcallgraph.h, definition at line 155 of file dotcallgraph.cpp.
References DotNode::deleteNodes and m_startNode.
Public Member Functions
isTooBig()
|
Declaration at line 34 of file dotcallgraph.h, definition at line 202 of file dotcallgraph.cpp.
References Config_getInt and numNodes.
Referenced by MemberDefImpl::_writeCallerGraph and MemberDefImpl::_writeCallGraph.
isTrivial()
|
Declaration at line 33 of file dotcallgraph.h, definition at line 197 of file dotcallgraph.cpp.
Reference m_startNode.
Referenced by MemberDefImpl::_hasVisibleCallerGraph, MemberDefImpl::_hasVisibleCallGraph, MemberDefImpl::_writeCallerGraph and MemberDefImpl::_writeCallGraph.
numNodes()
|
Declaration at line 35 of file dotcallgraph.h, definition at line 207 of file dotcallgraph.cpp.
Reference m_startNode.
Referenced by MemberDefImpl::_writeCallerGraph, MemberDefImpl::_writeCallGraph and isTooBig.
writeGraph()
|
Declaration at line 36 of file dotcallgraph.h, definition at line 183 of file dotcallgraph.cpp.
References Html, DotGraph::m_doNotAddImageToIndex and DotGraph::writeGraph.
Referenced by DocbookGenerator::endCallGraph, HtmlGenerator::endCallGraph, LatexGenerator::endCallGraph and RTFGenerator::endCallGraph.
Protected Member Functions
computeTheGraph()
| protected virtual |
Declaration at line 45 of file dotcallgraph.h, definition at line 165 of file dotcallgraph.cpp.
References CallGraph, DotGraph::computeGraph, FALSE, DotGraph::m_graphFormat, m_inverse, m_startNode and DotGraph::m_theGraph.
getBaseName()
| protected virtual |
Declaration at line 43 of file dotcallgraph.h, definition at line 160 of file dotcallgraph.cpp.
References m_diskName and m_inverse.
getMapLabel()
| protected virtual |
Declaration at line 44 of file dotcallgraph.h, definition at line 178 of file dotcallgraph.cpp.
Reference DotGraph::m_baseName.
Private Member Functions
buildGraph()
Declaration at line 48 of file dotcallgraph.h, definition at line 33 of file dotcallgraph.cpp.
References DotNode::addChild, DotNode::addParent, EdgeInfo::Blue, buildGraph, Config_getBool, DotGraph::DotNode, FALSE, Definition::getReferencedByMembers, Definition::getReferencesMembers, getUniqueId, linkToText, m_inverse, m_scope, m_usedNodes, DotNode::setDistance, EdgeInfo::Solid and QCString::str.
Referenced by buildGraph and DotCallGraph.
determineTruncatedNodes()
|
Declaration at line 50 of file dotcallgraph.h, definition at line 99 of file dotcallgraph.cpp.
References DotNode::children, DotGraph::DotNode, FALSE, DotNode::isTruncated, DotNode::isVisible, DotNode::markAsTruncated, TRUE and DotNode::Unknown.
Referenced by DotCallGraph.
determineVisibleNodes()
|
Declaration at line 49 of file dotcallgraph.h, definition at line 80 of file dotcallgraph.cpp.
References DotNode::children, Config_getInt, DotNode::distance, DotGraph::DotNode, DotNode::isVisible and DotNode::markAsVisible.
Referenced by DotCallGraph.
Private Member Attributes
m_diskName
|
Definition at line 54 of file dotcallgraph.h.
Referenced by DotCallGraph and getBaseName.
m_inverse
|
Definition at line 53 of file dotcallgraph.h.
Referenced by buildGraph, computeTheGraph, DotCallGraph and getBaseName.
m_scope
|
Definition at line 55 of file dotcallgraph.h.
Referenced by buildGraph and DotCallGraph.
m_startNode
|
Definition at line 51 of file dotcallgraph.h.
Referenced by computeTheGraph, DotCallGraph, isTrivial, numNodes and ~DotCallGraph.
m_usedNodes
|
Definition at line 52 of file dotcallgraph.h.
Referenced by buildGraph and DotCallGraph.
Public Static Functions
isTrivial()
| static |
Declaration at line 40 of file dotcallgraph.h, definition at line 212 of file dotcallgraph.cpp.
References FALSE, Definition::getReferencedByMembers, Definition::getReferencesMembers and TRUE.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.