|
Doxygen
|
Representation of an include dependency graph. More...
#include <src/dotincldepgraph.h>
Public Member Functions | |
| DotInclDepGraph (const FileDef *fd, bool inverse) | |
| ~DotInclDepGraph () override | |
| QCString | writeGraph (TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1) |
| bool | isTrivial () const |
| bool | isTooBig () const |
| int | numNodes () const |
| void | writeXML (TextStream &t) |
| void | writeDocbook (TextStream &t) |
| Public Member Functions inherited from DotGraph | |
| DotGraph () | |
| virtual | ~DotGraph ()=default |
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 | |
| QCString | diskName () const |
| void | buildGraph (DotNode *n, const FileDef *fd, int distance) |
| void | determineVisibleNodes (DotNodeDeque &queue, int &maxNodes) |
| void | determineTruncatedNodes (DotNodeDeque &queue) |
Private Attributes | |
| DotNode * | m_startNode |
| DotNodeMap | m_usedNodes |
| QCString | m_inclDepFileName |
| QCString | m_inclByDepFileName |
| bool | m_inverse |
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 include dependency graph.
Definition at line 30 of file dotincldepgraph.h.
| DotInclDepGraph::DotInclDepGraph | ( | const FileDef * | fd, |
| bool | inverse ) |
Definition at line 123 of file dotincldepgraph.cpp.
References FileDef::absFilePath(), ASSERT, Definition::briefDescriptionAsTooltip(), buildGraph(), Config_getInt, determineTruncatedNodes(), determineVisibleNodes(), FileDef::docName(), DotGraph::DotNode, Definition::getOutputFileBase(), Definition::getReference(), FileDef::includedByDependencyGraphFileName(), FileDef::includeDependencyGraphFileName(), m_inclByDepFileName, m_inclDepFileName, m_inverse, m_startNode, m_usedNodes, QCString::str(), and TRUE.
|
override |
Definition at line 149 of file dotincldepgraph.cpp.
References DotNode::deleteNodes(), and m_startNode.
Definition at line 22 of file dotincldepgraph.cpp.
References FileDef::absFilePath(), DotNode::addChild(), DotNode::addParent(), EdgeInfo::Blue, Definition::briefDescriptionAsTooltip(), buildGraph(), Config_getBool, DotGraph::DotNode, FALSE, FileDef::generateSourceFile(), Definition::getOutputFileBase(), Definition::getReference(), Definition::getSourceFileBase(), FileDef::includedByFileList(), FileDef::includeFileList(), Definition::isHidden(), Definition::isLinkable(), m_inverse, m_usedNodes, DotNode::setDistance(), EdgeInfo::Solid, QCString::str(), and TRUE.
Referenced by buildGraph(), and DotInclDepGraph().
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 166 of file dotincldepgraph.cpp.
References DotGraph::computeGraph(), Dependency, FALSE, DotGraph::m_graphFormat, m_inverse, m_startNode, and DotGraph::m_theGraph.
|
private |
Definition at line 98 of file dotincldepgraph.cpp.
References DotNode::children(), DotGraph::DotNode, FALSE, DotNode::isTruncated(), DotNode::isVisible(), DotNode::markAsTruncated(), TRUE, and DotNode::Unknown.
Referenced by DotInclDepGraph().
|
private |
Definition at line 79 of file dotincldepgraph.cpp.
References DotNode::children(), Config_getInt, DotNode::distance(), DotGraph::DotNode, DotNode::isVisible(), and DotNode::markAsVisible().
Referenced by DotInclDepGraph().
|
private |
References DotGraph::DotNode.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 154 of file dotincldepgraph.cpp.
References m_inclByDepFileName, m_inclDepFileName, and m_inverse.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 172 of file dotincldepgraph.cpp.
References escapeCharsInString(), FALSE, m_inverse, and m_startNode.
| bool DotInclDepGraph::isTooBig | ( | ) | const |
Definition at line 201 of file dotincldepgraph.cpp.
References Config_getInt, and numNodes().
Referenced by FileDefImpl::writeIncludedByGraph(), and FileDefImpl::writeIncludeGraph().
| bool DotInclDepGraph::isTrivial | ( | ) | const |
Definition at line 196 of file dotincldepgraph.cpp.
References m_startNode.
Referenced by generateXMLForFile(), FileDefImpl::writeIncludedByGraph(), and FileDefImpl::writeIncludeGraph().
| int DotInclDepGraph::numNodes | ( | ) | const |
Definition at line 206 of file dotincldepgraph.cpp.
References m_startNode.
Referenced by isTooBig(), FileDefImpl::writeIncludedByGraph(), and FileDefImpl::writeIncludeGraph().
| void DotInclDepGraph::writeDocbook | ( | TextStream & | t | ) |
Definition at line 219 of file dotincldepgraph.cpp.
References FALSE, and m_usedNodes.
| QCString DotInclDepGraph::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 184 of file dotincldepgraph.cpp.
References DotGraph::writeGraph().
Referenced by DocbookGenerator::endInclDepGraph(), HtmlGenerator::endInclDepGraph(), LatexGenerator::endInclDepGraph(), and RTFGenerator::endInclDepGraph().
| void DotInclDepGraph::writeXML | ( | TextStream & | t | ) |
Definition at line 211 of file dotincldepgraph.cpp.
References FALSE, and m_usedNodes.
Referenced by generateXMLForFile().
|
private |
Definition at line 60 of file dotincldepgraph.h.
Referenced by DotInclDepGraph(), and getBaseName().
|
private |
Definition at line 59 of file dotincldepgraph.h.
Referenced by DotInclDepGraph(), and getBaseName().
|
private |
Definition at line 61 of file dotincldepgraph.h.
Referenced by buildGraph(), computeTheGraph(), DotInclDepGraph(), getBaseName(), and getMapLabel().
|
private |
Definition at line 57 of file dotincldepgraph.h.
Referenced by computeTheGraph(), DotInclDepGraph(), getMapLabel(), isTrivial(), numNodes(), and ~DotInclDepGraph().
|
private |
Definition at line 58 of file dotincldepgraph.h.
Referenced by buildGraph(), DotInclDepGraph(), writeDocbook(), and writeXML().