| Doxygen
    | 
Representation of an call graph. More...
#include <src/dotcallgraph.h>
| Public Member Functions | |
| DotCallGraph (const MemberDef *md, bool inverse) | |
| ~DotCallGraph () override | |
| 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) | 
| Public Member Functions inherited from DotGraph | |
| DotGraph () | |
| virtual | ~DotGraph ()=default | 
| Static Public Member Functions | |
| static bool | isTrivial (const MemberDef *md, bool inverse) | 
| Protected Member Functions | |
| QCString | getBaseName () const override | 
| QCString | getMapLabel () const override | 
| void | computeTheGraph () override | 
| Protected Member Functions inherited from DotGraph | |
| int | getNextNodeNumber () | 
| returns the node number. | |
| int | getNextEdgeNumber () | 
| returns the edge number. | |
| QCString | writeGraph (TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1) | 
| virtual QCString | absMapName () const | 
| virtual QCString | getImgAltText () const | 
| QCString | absBaseName () const | 
| QCString | absDotName () const | 
| QCString | imgName () const | 
| QCString | absImgName () const | 
| QCString | relImgName () const | 
| Private Member Functions | |
| void | buildGraph (DotNode *n, const MemberDef *md, int distance) | 
| void | determineVisibleNodes (DotNodeDeque &queue, int &maxNodes) | 
| void | determineTruncatedNodes (DotNodeDeque &queue) | 
| Private Attributes | |
| DotNode * | m_startNode | 
| DotNodeMap | m_usedNodes | 
| bool | m_inverse | 
| QCString | m_diskName | 
| const Definition * | m_scope | 
| Additional Inherited Members | |
| Static Protected Member Functions inherited from DotGraph | |
| static void | writeGraphHeader (TextStream &t, const QCString &title=QCString()) | 
| static void | writeGraphFooter (TextStream &t) | 
| static void | computeGraph (DotNode *root, GraphType gt, GraphOutputFormat format, const QCString &rank, bool renderParents, bool backArrows, const QCString &title, QCString &graphStr) | 
| Protected Attributes inherited from DotGraph | |
| GraphOutputFormat | m_graphFormat = GraphOutputFormat::BITMAP | 
| EmbeddedOutputFormat | m_textFormat = EmbeddedOutputFormat::Html | 
| Dir | m_dir | 
| QCString | m_fileName | 
| QCString | m_relPath | 
| bool | m_generateImageMap = false | 
| int | m_graphId = 0 | 
| QCString | m_absPath | 
| QCString | m_baseName | 
| QCString | m_theGraph | 
| bool | m_regenerate = false | 
| bool | m_doNotAddImageToIndex = false | 
| bool | m_noDivTag = false | 
| bool | m_zoomable = true | 
| bool | m_urlOnly = false | 
Representation of an call graph.
Definition at line 26 of file dotcallgraph.h.
| DotCallGraph::DotCallGraph | ( | const MemberDef * | md, | 
| bool | inverse ) | 
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.
| 
 | override | 
Definition at line 155 of file dotcallgraph.cpp.
References DotNode::deleteNodes(), and m_startNode.
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().
| 
 | overrideprotectedvirtual | 
Implements DotGraph.
Definition at line 165 of file dotcallgraph.cpp.
References CallGraph, DotGraph::computeGraph(), FALSE, DotGraph::m_graphFormat, m_inverse, m_startNode, and DotGraph::m_theGraph.
| 
 | private | 
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().
| 
 | private | 
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().
| 
 | overrideprotectedvirtual | 
Implements DotGraph.
Definition at line 160 of file dotcallgraph.cpp.
References m_diskName, and m_inverse.
| 
 | overrideprotectedvirtual | 
Implements DotGraph.
Definition at line 178 of file dotcallgraph.cpp.
References DotGraph::m_baseName.
| bool DotCallGraph::isTooBig | ( | ) | const | 
Definition at line 202 of file dotcallgraph.cpp.
References Config_getInt, and numNodes().
Referenced by MemberDefImpl::_writeCallerGraph(), and MemberDefImpl::_writeCallGraph().
| bool DotCallGraph::isTrivial | ( | ) | const | 
Definition at line 197 of file dotcallgraph.cpp.
References m_startNode.
Referenced by MemberDefImpl::_hasVisibleCallerGraph(), MemberDefImpl::_hasVisibleCallGraph(), MemberDefImpl::_writeCallerGraph(), and MemberDefImpl::_writeCallGraph().
| 
 | static | 
Definition at line 212 of file dotcallgraph.cpp.
References FALSE, Definition::getReferencedByMembers(), Definition::getReferencesMembers(), and TRUE.
| int DotCallGraph::numNodes | ( | ) | const | 
Definition at line 207 of file dotcallgraph.cpp.
References m_startNode.
Referenced by MemberDefImpl::_writeCallerGraph(), MemberDefImpl::_writeCallGraph(), and isTooBig().
| QCString DotCallGraph::writeGraph | ( | TextStream & | t, | 
| GraphOutputFormat | gf, | ||
| EmbeddedOutputFormat | ef, | ||
| const QCString & | path, | ||
| const QCString & | fileName, | ||
| const QCString & | relPath, | ||
| bool | writeImageMap = TRUE, | ||
| int | graphId = -1 ) | 
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().
| 
 | private | 
Definition at line 54 of file dotcallgraph.h.
Referenced by DotCallGraph(), and getBaseName().
| 
 | private | 
Definition at line 53 of file dotcallgraph.h.
Referenced by buildGraph(), computeTheGraph(), DotCallGraph(), and getBaseName().
| 
 | private | 
Definition at line 55 of file dotcallgraph.h.
Referenced by buildGraph(), and DotCallGraph().
| 
 | private | 
Definition at line 51 of file dotcallgraph.h.
Referenced by computeTheGraph(), DotCallGraph(), isTrivial(), numNodes(), and ~DotCallGraph().
| 
 | private | 
Definition at line 52 of file dotcallgraph.h.
Referenced by buildGraph(), and DotCallGraph().