|
Doxygen
|
Representation of a class inheritance or dependency graph 更多...
#include <dotclassgraph.h>
类 DotClassGraph 继承关系图:
DotClassGraph 的协作图:Public 成员函数 | |
| DotClassGraph (const ClassDef *cd, GraphType t) | |
| ~DotClassGraph () | |
| 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 TBRank=TRUE, bool imageMap=TRUE, int graphId=-1) |
| void | writeXML (TextStream &t) |
| void | writeDocbook (TextStream &t) |
| void | writeDEF (TextStream &t) |
Public 成员函数 继承自 DotGraph | |
| DotGraph () | |
| virtual | ~DotGraph () |
Protected 成员函数 | |
| virtual QCString | getBaseName () const |
| virtual QCString | getMapLabel () const |
| virtual void | computeTheGraph () |
| virtual QCString | getImgAltText () const |
Protected 成员函数 继承自 DotGraph | |
| int | getNextNodeNumber () |
| returns node numbers. 更多... | |
| 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 |
| QCString | absBaseName () const |
| QCString | absDotName () const |
| QCString | imgName () const |
| QCString | absImgName () const |
| QCString | relImgName () const |
Private 成员函数 | |
| void | buildGraph (const ClassDef *cd, DotNode *n, bool base, int distance) |
| bool | determineVisibleNodes (DotNode *rootNode, int maxNodes, bool includeParents) |
| void | determineTruncatedNodes (DotNodeDeque &queue, bool includeParents) |
| void | addClass (const ClassDef *cd, DotNode *n, int prot, const QCString &label, const QCString &usedName, const QCString &templSpec, bool base, int distance) |
Private 属性 | |
| DotNode * | m_startNode |
| DotNodeMap | m_usedNodes |
| GraphType | m_graphType |
| QCString | m_collabFileName |
| QCString | m_inheritFileName |
| bool | m_lrRank |
额外继承的成员函数 | |
静态 Protected 成员函数 继承自 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 属性 继承自 DotGraph | |
| GraphOutputFormat | m_graphFormat = GOF_BITMAP |
| EmbeddedOutputFormat | m_textFormat = EOF_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 a class inheritance or dependency graph
在文件 dotclassgraph.h 第 28 行定义.
在文件 dotclassgraph.cpp 第 314 行定义.
引用了 ClassDef::anchor(), Definition::briefDescriptionAsTooltip(), buildGraph(), ClassDef::collaborationGraphFileName(), Config_getInt, determineTruncatedNodes(), determineVisibleNodes(), ClassDef::displayName(), FALSE, DotGraph::getNextNodeNumber(), ClassDef::getOutputFileBase(), ClassDef::getReference(), Inheritance, ClassDef::inheritanceGraphFileName(), QCString::isEmpty(), Definition::isHidden(), ClassDef::isLinkable(), m_collabFileName, m_graphType, m_inheritFileName, m_lrRank, m_startNode, m_usedNodes, DotNode::setDistance(), QCString::str() , 以及 TRUE.
| DotClassGraph::~DotClassGraph | ( | ) |
在文件 dotclassgraph.cpp 第 375 行定义.
引用了 DotNode::deleteNodes() , 以及 m_startNode.
|
private |
在文件 dotclassgraph.cpp 第 26 行定义.
引用了 DotNode::addChild(), DotNode::addParent(), ClassDef::anchor(), Definition::briefDescriptionAsTooltip(), buildGraph(), Config_getBool, EdgeInfo::Dashed, ClassDef::displayName(), FALSE, DotGraph::getNextNodeNumber(), ClassDef::getOutputFileBase(), ClassDef::getReference(), insertTemplateSpecifierInScope(), Definition::isAnonymous(), QCString::isEmpty(), Definition::isHidden(), ClassDef::isLinkable(), m_usedNodes, Definition::name(), EdgeInfo::Orange, EdgeInfo::Orange2, DotNode::setDistance(), EdgeInfo::Solid, QCString::str() , 以及 stripScope().
被这些函数引用 buildGraph().
|
private |
在文件 dotclassgraph.cpp 第 250 行定义.
引用了 addClass(), ClassDef::baseClasses(), Collaboration, Config_getBool, FALSE, ClassDef::getTemplateInstances(), Inheritance, joinLabels(), m_graphType, EdgeInfo::Orange, EdgeInfo::Orange2, EdgeInfo::Purple, ClassDef::subClasses(), ClassDef::templateMaster(), ClassDef::templateTypeConstraints(), TRUE, ClassDef::usedByImplementationClasses() , 以及 ClassDef::usedImplementationClasses().
被这些函数引用 addClass() , 以及 DotClassGraph().
|
protectedvirtual |
实现了 DotGraph.
在文件 dotclassgraph.cpp 第 397 行定义.
引用了 DotGraph::computeGraph(), Inheritance, DotNode::label(), DotGraph::m_graphFormat, m_graphType, m_lrRank, m_startNode, DotGraph::m_theGraph , 以及 TRUE.
|
private |
在文件 dotclassgraph.cpp 第 114 行定义.
引用了 DotNode::children(), FALSE, DotNode::isTruncated(), DotNode::isVisible(), DotNode::markAsTruncated(), DotNode::parents(), TRUE , 以及 DotNode::Unknown.
被这些函数引用 DotClassGraph().
|
private |
在文件 dotclassgraph.cpp 第 145 行定义.
引用了 DotNode::children(), Config_getBool, Config_getInt, DotNode::distance(), FALSE, DotNode::isVisible(), DotNode::label(), QCString::length(), DotNode::markAsVisible(), DotNode::parents() , 以及 TRUE.
被这些函数引用 DotClassGraph().
|
protectedvirtual |
实现了 DotGraph.
在文件 dotclassgraph.cpp 第 380 行定义.
引用了 ASSERT, Collaboration, Inheritance, m_collabFileName, m_graphType , 以及 m_inheritFileName.
|
protectedvirtual |
重载 DotGraph .
在文件 dotclassgraph.cpp 第 430 行定义.
引用了 ASSERT, Collaboration, Inheritance , 以及 m_graphType.
|
protectedvirtual |
实现了 DotGraph.
在文件 dotclassgraph.cpp 第 411 行定义.
引用了 ASSERT, Collaboration, escapeCharsInString(), FALSE, Inheritance, DotNode::label(), m_graphType , 以及 m_startNode.
| bool DotClassGraph::isTooBig | ( | ) | const |
在文件 dotclassgraph.cpp 第 359 行定义.
引用了 Config_getInt , 以及 numNodes().
| bool DotClassGraph::isTrivial | ( | ) | const |
在文件 dotclassgraph.cpp 第 351 行定义.
引用了 DotNode::children(), Config_getBool, Inheritance, m_graphType, m_startNode , 以及 DotNode::parents().
被这些函数引用 generateDEFForClass(), PerlModGenerator::generatePerlModForClass(), generateXMLForClass(), ClassDefImpl::writeCollaborationGraph() , 以及 ClassDefImpl::writeInheritanceGraph().
| int DotClassGraph::numNodes | ( | ) | const |
在文件 dotclassgraph.cpp 第 364 行定义.
引用了 DotNode::children(), Inheritance, m_graphType, m_startNode , 以及 DotNode::parents().
被这些函数引用 isTooBig() , 以及 ClassDefImpl::writeInheritanceGraph().
| void DotClassGraph::writeDEF | ( | TextStream & | t | ) |
| void DotClassGraph::writeDocbook | ( | TextStream & | t | ) |
在文件 dotclassgraph.cpp 第 470 行定义.
引用了 m_usedNodes , 以及 TRUE.
| QCString DotClassGraph::writeGraph | ( | TextStream & | t, |
| GraphOutputFormat | gf, | ||
| EmbeddedOutputFormat | ef, | ||
| const QCString & | path, | ||
| const QCString & | fileName, | ||
| const QCString & | relPath, | ||
| bool | TBRank = TRUE, |
||
| bool | imageMap = TRUE, |
||
| int | graphId = -1 |
||
| ) |
在文件 dotclassgraph.cpp 第 447 行定义.
被这些函数引用 RTFGenerator::endDotGraph(), DocbookGenerator::endDotGraph(), LatexGenerator::endDotGraph() , 以及 HtmlGenerator::endDotGraph().
| void DotClassGraph::writeXML | ( | TextStream & | t | ) |
|
private |
在文件 dotclassgraph.h 第 61 行定义.
被这些函数引用 DotClassGraph() , 以及 getBaseName().
|
private |
在文件 dotclassgraph.h 第 60 行定义.
被这些函数引用 buildGraph(), computeTheGraph(), DotClassGraph(), getBaseName(), getImgAltText(), getMapLabel(), isTrivial() , 以及 numNodes().
|
private |
在文件 dotclassgraph.h 第 62 行定义.
被这些函数引用 DotClassGraph() , 以及 getBaseName().
|
private |
在文件 dotclassgraph.h 第 63 行定义.
被这些函数引用 computeTheGraph() , 以及 DotClassGraph().
|
private |
在文件 dotclassgraph.h 第 58 行定义.
被这些函数引用 computeTheGraph(), DotClassGraph(), getMapLabel(), isTrivial(), numNodes() , 以及 ~DotClassGraph().
|
private |
在文件 dotclassgraph.h 第 59 行定义.
被这些函数引用 addClass(), DotClassGraph(), writeDEF(), writeDocbook() , 以及 writeXML().