My Project
|
#include <dot.h>
Public Member Functions | |
DotInclDepGraph (FileDef *fd, bool inverse) | |
~DotInclDepGraph () | |
QCString | writeGraph (FTextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const char *path, const char *fileName, const char *relPath, bool writeImageMap=TRUE, int graphId=-1) const |
bool | isTrivial () const |
bool | isTooBig () const |
QCString | diskName () const |
void | writeXML (FTextStream &t) |
void | writeDocbook (FTextStream &t) |
Static Public Member Functions | |
static void | resetNumbering () |
Private Member Functions | |
void | buildGraph (DotNode *n, FileDef *fd, int distance) |
void | determineVisibleNodes (QList< DotNode > &queue, int &maxNodes) |
void | determineTruncatedNodes (QList< DotNode > &queue) |
Private Attributes | |
DotNode * | m_startNode |
QDict< DotNode > * | m_usedNodes |
QCString | m_inclDepFileName |
QCString | m_inclByDepFileName |
bool | m_inverse |
Static Private Attributes | |
static int | m_curNodeNumber = 0 |
DotInclDepGraph::DotInclDepGraph | ( | FileDef * | fd, |
bool | inverse | ||
) |
Definition at line 3402 of file dot.cpp.
References FileDef::absFilePath(), buildGraph(), Config_getInt, determineTruncatedNodes(), determineVisibleNodes(), FileDef::docName(), FileDef::getOutputFileBase(), Definition::getReference(), FileDef::includedByDependencyGraphFileName(), FileDef::includeDependencyGraphFileName(), m_curNodeNumber, m_inclByDepFileName, m_inclDepFileName, m_inverse, m_startNode, m_usedNodes, and DotNode::setDistance().
DotInclDepGraph::~DotInclDepGraph | ( | ) |
Definition at line 3434 of file dot.cpp.
References deleteNodes(), m_startNode, and m_usedNodes.
Definition at line 3282 of file dot.cpp.
References FileDef::absFilePath(), DotNode::addChild(), DotNode::addParent(), Definition::briefDescriptionAsTooltip(), Config_getBool, doc, IncludeInfo::fileDef, FileDef::generateSourceFile(), FileDef::getOutputFileBase(), Definition::getReference(), FileDef::getSourceFileBase(), FileDef::includedByFileList(), FileDef::includeFileList(), IncludeInfo::includeName, Definition::isHidden(), FileDef::isLinkable(), m_curNodeNumber, m_inverse, m_usedNodes, and DotNode::setDistance().
Referenced by DotInclDepGraph().
|
private |
Definition at line 3370 of file dot.cpp.
References DotNode::isTruncated(), DotNode::isVisible(), DotNode::m_children, DotNode::markAsTruncated(), and DotNode::Unknown.
Referenced by DotInclDepGraph().
|
private |
Definition at line 3346 of file dot.cpp.
References Config_getInt, DotNode::distance(), DotNode::isVisible(), DotNode::m_children, and DotNode::markAsVisible().
Referenced by DotInclDepGraph().
QCString DotInclDepGraph::diskName | ( | ) | const |
bool DotInclDepGraph::isTooBig | ( | ) | const |
Definition at line 3583 of file dot.cpp.
References Config_getInt, DotNode::m_children, and m_startNode.
Referenced by FileContext::Private::hasIncludedByGraph(), FileContext::Private::hasIncludeGraph(), FileDef::writeIncludedByGraph(), and FileDef::writeIncludeGraph().
bool DotInclDepGraph::isTrivial | ( | ) | const |
Definition at line 3578 of file dot.cpp.
References DotNode::m_children, and m_startNode.
Referenced by generateXMLForFile(), FileContext::Private::hasIncludedByGraph(), FileContext::Private::hasIncludeGraph(), FileDef::writeIncludedByGraph(), and FileDef::writeIncludeGraph().
|
static |
Definition at line 3397 of file dot.cpp.
References m_curNodeNumber.
Referenced by resetDotNodeNumbering().
void DotInclDepGraph::writeDocbook | ( | FTextStream & | t | ) |
Definition at line 3600 of file dot.cpp.
References m_usedNodes, and DotNode::writeDocbook().
QCString DotInclDepGraph::writeGraph | ( | FTextStream & | t, |
GraphOutputFormat | gf, | ||
EmbeddedOutputFormat | ef, | ||
const char * | path, | ||
const char * | fileName, | ||
const char * | relPath, | ||
bool | writeImageMap = TRUE , |
||
int | graphId = -1 |
||
) | const |
Definition at line 3440 of file dot.cpp.
References DotManager::addFigure(), IndexList::addImageFile(), DotRunner::addJob(), DotManager::addMap(), DotManager::addRun(), DotManager::addSVGConversion(), DotManager::addSVGObject(), checkDeliverables(), Config_getBool, Config_getEnum, DotNode::Dependency, endl(), EOF_DocBook, err(), escapeCharsInString(), getDotImageExtension(), GOF_BITMAP, GOF_EPS, Doxygen::indexList, insertMapFile(), DotManager::instance(), DotNode::label(), m_inclByDepFileName, m_inclDepFileName, m_inverse, DotNode::m_label, m_startNode, MAP_CMD, removeDotGraph(), updateDotGraph(), writeSVGFigureLink(), and writeVecGfxFigure().
Referenced by RTFGenerator::endInclDepGraph(), LatexGenerator::endInclDepGraph(), HtmlGenerator::endInclDepGraph(), FileContext::Private::includedByGraph(), and FileContext::Private::includeGraph().
void DotInclDepGraph::writeXML | ( | FTextStream & | t | ) |
Definition at line 3590 of file dot.cpp.
References m_usedNodes, and DotNode::writeXML().
Referenced by generateXMLForFile().
|
staticprivate |
Definition at line 225 of file dot.h.
Referenced by buildGraph(), DotInclDepGraph(), and resetNumbering().
|
private |
Definition at line 227 of file dot.h.
Referenced by DotInclDepGraph(), and writeGraph().
|
private |
Definition at line 226 of file dot.h.
Referenced by DotInclDepGraph(), and writeGraph().
|
private |
Definition at line 228 of file dot.h.
Referenced by buildGraph(), DotInclDepGraph(), and writeGraph().
|
private |
Definition at line 223 of file dot.h.
Referenced by DotInclDepGraph(), isTooBig(), isTrivial(), writeGraph(), and ~DotInclDepGraph().
|
private |
Definition at line 224 of file dot.h.
Referenced by buildGraph(), DotInclDepGraph(), writeDocbook(), writeXML(), and ~DotInclDepGraph().