The DotGfxHierarchyTable
Class Reference
Represents a graphical class hierarchy. More...
Declaration
Included Headers
Base class
class | DotGraph |
A dot graph. More... | |
Private Member Typedefs Index
using | DotNodeMap = std::unordered_multimap< std::string, std::unique_ptr< DotNode > > |
Public Constructors Index
DotGfxHierarchyTable (const QCString &prefix="", ClassDef::CompoundType ct=ClassDef::Class) | |
Public Destructor Index
~DotGfxHierarchyTable () override=default | |
Public Member Functions Index
void | createGraph (DotNode *rootNode, TextStream &t, const QCString &path, const QCString &fileName, int id) |
void | writeGraph (TextStream &t, const QCString &path, const QCString &fileName) |
const std::vector< DotNode * > | subGraphs () const |
Protected Member Functions Index
QCString | getBaseName () const override |
QCString | getMapLabel () const override |
void | computeTheGraph () override |
Private Member Functions Index
void | addHierarchy (DotNode *n, const ClassDef *cd, ClassDefSet &visited) |
void | addClassList (const ClassLinkedMap &cl, ClassDefSet &visited) |
Private Member Attributes Index
int | m_graphId |
QCString | m_prefix |
ClassDef::CompoundType | m_classType |
std::vector< DotNode * > | m_rootNodes |
DotNodeMap | m_usedNodes |
std::vector< DotNode * > | m_rootSubgraphs |
DotNode * | m_rootSubgraphNode |
Description
Represents a graphical class hierarchy.
Definition at line 31 of file dotgfxhierarchytable.h.
Private Member Typedefs
DotNodeMap
|
Definition at line 52 of file dotgfxhierarchytable.h.
Public Constructors
DotGfxHierarchyTable()
|
Declaration at line 34 of file dotgfxhierarchytable.h, definition at line 226 of file dotgfxhierarchytable.cpp.
References addClassList, Doxygen::classLinkedMap, FALSE, Doxygen::hiddenClassLinkedMap, m_classType, m_prefix, m_rootNodes, m_rootSubgraphs, prefix and TRUE.
Referenced by ~DotGfxHierarchyTable.
Public Destructor
~DotGfxHierarchyTable()
| default |
Definition at line 35 of file dotgfxhierarchytable.h.
References DotGfxHierarchyTable and DotGraph::DotNode.
Public Member Functions
createGraph()
|
Declaration at line 38 of file dotgfxhierarchytable.h, definition at line 65 of file dotgfxhierarchytable.cpp.
References BITMAP, DotGraph::DotNode, FALSE, Html, m_graphId, DotGraph::m_noDivTag, m_rootSubgraphNode, DotGraph::m_zoomable, TRUE and DotGraph::writeGraph.
Referenced by writeGraph.
subGraphs()
| inline |
Definition at line 41 of file dotgfxhierarchytable.h.
Reference m_rootSubgraphs.
writeGraph()
|
Declaration at line 40 of file dotgfxhierarchytable.h, definition at line 75 of file dotgfxhierarchytable.cpp.
References createGraph, Dir::exists, m_rootSubgraphs, QCString::str and term.
Referenced by HtmlGenerator::writeGraphicalHierarchy.
Protected Member Functions
computeTheGraph()
| protected virtual |
Declaration at line 46 of file dotgfxhierarchytable.h, definition at line 37 of file dotgfxhierarchytable.cpp.
References BITMAP, FALSE, Hierarchy, m_rootNodes, m_rootSubgraphNode, DotGraph::m_theGraph, TextStream::str, theTranslator, TRUE, DotGraph::writeGraphFooter and DotGraph::writeGraphHeader.
getBaseName()
| protected virtual |
Declaration at line 44 of file dotgfxhierarchytable.h, definition at line 27 of file dotgfxhierarchytable.cpp.
References m_graphId, m_prefix, qPrint and QCString::sprintf.
getMapLabel()
| protected virtual |
Declaration at line 45 of file dotgfxhierarchytable.h, definition at line 60 of file dotgfxhierarchytable.cpp.
References escapeCharsInString, FALSE and m_rootSubgraphNode.
Private Member Functions
addClassList()
|
Declaration at line 50 of file dotgfxhierarchytable.h, definition at line 179 of file dotgfxhierarchytable.cpp.
References addHierarchy, classHasVisibleRoot, Config_getBool, VhdlDocGen::convert, DotGraph::DotNode, VhdlDocGen::ENTITYCLASS, m_classType, m_rootNodes and m_usedNodes.
Referenced by DotGfxHierarchyTable.
addHierarchy()
|
Declaration at line 49 of file dotgfxhierarchytable.h, definition at line 105 of file dotgfxhierarchytable.cpp.
References DotNode::addChild, addHierarchy, Definition::anchor, ClassDef::baseClasses, Definition::briefDescriptionAsTooltip, DotNode::children, classHasVisibleRoot, Definition::displayName, DotGraph::DotNode, Definition::getOutputFileBase, Definition::getReference, QCString::isEmpty, Definition::isHidden, Definition::isLinkable, ClassDef::isVisibleInHierarchy, m_usedNodes, Definition::name, EdgeInfo::protectionToColor, QCString::str and ClassDef::subClasses.
Referenced by addClassList and addHierarchy.
Private Member Attributes
m_classType
|
Definition at line 55 of file dotgfxhierarchytable.h.
Referenced by addClassList and DotGfxHierarchyTable.
m_graphId
|
Definition at line 53 of file dotgfxhierarchytable.h.
Referenced by createGraph and getBaseName.
m_prefix
|
Definition at line 54 of file dotgfxhierarchytable.h.
Referenced by DotGfxHierarchyTable and getBaseName.
m_rootNodes
|
Definition at line 56 of file dotgfxhierarchytable.h.
Referenced by addClassList, computeTheGraph and DotGfxHierarchyTable.
m_rootSubgraphNode
|
Definition at line 59 of file dotgfxhierarchytable.h.
Referenced by computeTheGraph, createGraph and getMapLabel.
m_rootSubgraphs
|
Definition at line 58 of file dotgfxhierarchytable.h.
Referenced by DotGfxHierarchyTable, subGraphs and writeGraph.
m_usedNodes
|
Definition at line 57 of file dotgfxhierarchytable.h.
Referenced by addClassList and addHierarchy.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.