The DotInclDepGraph
Class Reference
Representation of an include dependency graph. More...
Declaration
Included Headers
Base class
class | DotGraph |
A dot graph. More... | |
Public Constructors Index
DotInclDepGraph (const FileDef *fd, bool inverse) | |
Public Destructor Index
~DotInclDepGraph () override | |
Public Member Functions Index
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) |
Protected Member Functions Index
QCString | getBaseName () const override |
QCString | getMapLabel () const override |
void | computeTheGraph () override |
Private Member Functions Index
QCString | diskName () const |
void | buildGraph (DotNode *n, const FileDef *fd, int distance) |
void | determineVisibleNodes (DotNodeDeque &queue, int &maxNodes) |
void | determineTruncatedNodes (DotNodeDeque &queue) |
Private Member Attributes Index
DotNode * | m_startNode |
DotNodeMap | m_usedNodes |
QCString | m_inclDepFileName |
QCString | m_inclByDepFileName |
bool | m_inverse |
Description
Representation of an include dependency graph.
Definition at line 30 of file dotincldepgraph.h.
Public Constructors
DotInclDepGraph()
|
Declaration at line 33 of file dotincldepgraph.h, 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.
Public Destructor
~DotInclDepGraph()
|
Declaration at line 34 of file dotincldepgraph.h, definition at line 149 of file dotincldepgraph.cpp.
References DotNode::deleteNodes and m_startNode.
Public Member Functions
isTooBig()
|
Declaration at line 41 of file dotincldepgraph.h, definition at line 201 of file dotincldepgraph.cpp.
References Config_getInt and numNodes.
Referenced by FileDefImpl::writeIncludedByGraph and FileDefImpl::writeIncludeGraph.
isTrivial()
|
Declaration at line 40 of file dotincldepgraph.h, definition at line 196 of file dotincldepgraph.cpp.
Reference m_startNode.
Referenced by generateXMLForFile, FileDefImpl::writeIncludedByGraph and FileDefImpl::writeIncludeGraph.
numNodes()
|
Declaration at line 42 of file dotincldepgraph.h, definition at line 206 of file dotincldepgraph.cpp.
Reference m_startNode.
Referenced by isTooBig, FileDefImpl::writeIncludedByGraph and FileDefImpl::writeIncludeGraph.
writeDocbook()
|
Declaration at line 44 of file dotincldepgraph.h, definition at line 219 of file dotincldepgraph.cpp.
References FALSE and m_usedNodes.
writeGraph()
|
Declaration at line 37 of file dotincldepgraph.h, definition at line 184 of file dotincldepgraph.cpp.
Reference DotGraph::writeGraph.
Referenced by DocbookGenerator::endInclDepGraph, HtmlGenerator::endInclDepGraph, LatexGenerator::endInclDepGraph and RTFGenerator::endInclDepGraph.
writeXML()
|
Declaration at line 43 of file dotincldepgraph.h, definition at line 211 of file dotincldepgraph.cpp.
References FALSE and m_usedNodes.
Referenced by generateXMLForFile.
Protected Member Functions
computeTheGraph()
| protected virtual |
Declaration at line 49 of file dotincldepgraph.h, definition at line 166 of file dotincldepgraph.cpp.
References DotGraph::computeGraph, Dependency, FALSE, DotGraph::m_graphFormat, m_inverse, m_startNode and DotGraph::m_theGraph.
getBaseName()
| protected virtual |
Declaration at line 47 of file dotincldepgraph.h, definition at line 154 of file dotincldepgraph.cpp.
References m_inclByDepFileName, m_inclDepFileName and m_inverse.
getMapLabel()
| protected virtual |
Declaration at line 48 of file dotincldepgraph.h, definition at line 172 of file dotincldepgraph.cpp.
References escapeCharsInString, FALSE, m_inverse and m_startNode.
Private Member Functions
buildGraph()
Declaration at line 53 of file dotincldepgraph.h, 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.
determineTruncatedNodes()
|
Declaration at line 55 of file dotincldepgraph.h, 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.
determineVisibleNodes()
|
Declaration at line 54 of file dotincldepgraph.h, 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.
diskName()
|
Definition at line 52 of file dotincldepgraph.h.
Reference DotGraph::DotNode.
Private Member Attributes
m_inclByDepFileName
|
Definition at line 60 of file dotincldepgraph.h.
Referenced by DotInclDepGraph and getBaseName.
m_inclDepFileName
|
Definition at line 59 of file dotincldepgraph.h.
Referenced by DotInclDepGraph and getBaseName.
m_inverse
|
Definition at line 61 of file dotincldepgraph.h.
Referenced by buildGraph, computeTheGraph, DotInclDepGraph, getBaseName and getMapLabel.
m_startNode
|
Definition at line 57 of file dotincldepgraph.h.
Referenced by computeTheGraph, DotInclDepGraph, getMapLabel, isTrivial, numNodes and ~DotInclDepGraph.
m_usedNodes
|
Definition at line 58 of file dotincldepgraph.h.
Referenced by buildGraph, DotInclDepGraph, writeDocbook and writeXML.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.