|
Doxygen
|
Representation of a group collaboration graph. More...
#include <src/dotgroupcollaboration.h>
Classes | |
| struct | Link |
| struct | Edge |
Public Member Functions | |
| DotGroupCollaboration (const GroupDef *gd) | |
| ~DotGroupCollaboration () override | |
| DString | writeGraph (TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1) |
| bool | isTrivial () const |
| bool | isTooBig () const |
| int | numNodes () const |
| Public Member Functions inherited from DotGraph | |
| DotGraph () | |
| virtual | ~DotGraph ()=default |
Protected Member Functions | |
| DString | getBaseName () const override |
| DString | getMapLabel () const override |
| void | computeTheGraph () override |
| Protected Member Functions inherited from DotGraph | |
| int | getNextNodeNumber () |
| returns the node number. | |
| int | getNextEdgeNumber () |
| returns the edge number. | |
| DString | writeGraph (TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1) |
| virtual DString | absMapName () const |
| virtual DString | getImgAltText () const |
| DString | absBaseName () const |
| DString | absDotName () const |
| DString | imgName () const |
| DString | absImgName () const |
| DString | relImgName () const |
Private Types | |
| enum | EdgeType { tmember = 0 , tclass , tnamespace , tfile , tpages , tdir , thierarchy } |
Private Member Functions | |
| void | buildGraph (const GroupDef *gd) |
| void | addCollaborationMember (const Definition *def, DString &url, EdgeType eType) |
| void | addMemberList (class MemberList *ml) |
| void | writeGraphHeader (TextStream &t, const DString &title) const |
| Edge * | addEdge (DotNode *_pNStart, DotNode *_pNEnd, EdgeType _eType, const DString &_label, const DString &_url) |
Private Attributes | |
| DotNode * | m_rootNode |
| DotNodeMap | m_usedNodes |
| DString | m_diskName |
| std::vector< std::unique_ptr< Edge > > | m_edges |
Additional Inherited Members | |
| Static Protected Member Functions inherited from DotGraph | |
| static void | writeGraphHeader (TextStream &t, const DString &title=DString()) |
| static void | writeGraphFooter (TextStream &t) |
| static void | computeGraph (DotNode *root, GraphType gt, GraphOutputFormat format, const DString &rank, bool renderParents, bool backArrows, const DString &title, DString &graphStr) |
| Protected Attributes inherited from DotGraph | |
| GraphOutputFormat | m_graphFormat = GraphOutputFormat::BITMAP |
| EmbeddedOutputFormat | m_textFormat = EmbeddedOutputFormat::Html |
| Dir | m_dir |
| DString | m_fileName |
| DString | m_relPath |
| bool | m_generateImageMap = false |
| int | m_graphId = 0 |
| DString | m_absPath |
| DString | m_baseName |
| DString | 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 group collaboration graph.
Definition at line 29 of file dotgroupcollaboration.h.
|
private |
| Enumerator | |
|---|---|
| tmember | |
| tclass | |
| tnamespace | |
| tfile | |
| tpages | |
| tdir | |
| thierarchy | |
Definition at line 49 of file dotgroupcollaboration.h.
| DotGroupCollaboration::DotGroupCollaboration | ( | const GroupDef * | gd | ) |
Definition at line 28 of file dotgroupcollaboration.cpp.
References Definition::briefDescriptionAsTooltip(), buildGraph(), DotNode::DotNode(), Definition::getOutputFileBase(), Definition::getReference(), GroupDef::groupTitle(), m_diskName, m_rootNode, m_usedNodes, DotNode::markAsVisible(), Definition::name(), and DString::str().
|
override |
Definition at line 41 of file dotgroupcollaboration.cpp.
References m_usedNodes.
|
private |
Definition at line 189 of file dotgroupcollaboration.cpp.
References addEdge(), DotGraph::DotNode, DotNode::DotNode(), m_rootNode, m_usedNodes, DotNode::markAsVisible(), Definition::partOfGroups(), and Definition::qualifiedName().
Referenced by addMemberList(), and buildGraph().
|
private |
Definition at line 165 of file dotgroupcollaboration.cpp.
References DotGraph::DotNode, DString::empty(), and m_edges.
Referenced by addCollaborationMember(), and buildGraph().
|
private |
Definition at line 154 of file dotgroupcollaboration.cpp.
References addCollaborationMember(), MemberVector::empty(), makeURL(), and tmember.
Referenced by buildGraph().
|
private |
Definition at line 61 of file dotgroupcollaboration.cpp.
References addCollaborationMember(), addEdge(), addMemberList(), DotGraph::DotNode, DotNode::DotNode(), GroupDef::getClasses(), GroupDef::getDirs(), GroupDef::getFiles(), GroupDef::getMemberList(), GroupDef::getNamespaces(), GroupDef::getPages(), GroupDef::getSubGroups(), m_rootNode, m_usedNodes, makeURL(), DotNode::markAsVisible(), Definition::partOfGroups(), tclass, tdir, tfile, thierarchy, tnamespace, and tpages.
Referenced by DotGroupCollaboration().
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 219 of file dotgroupcollaboration.cpp.
References Inheritance, DotNode::label(), m_edges, DotGraph::m_graphFormat, m_rootNode, DotGraph::m_theGraph, m_usedNodes, TextStream::str(), DotGraph::writeGraphFooter(), and writeGraphHeader().
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 214 of file dotgroupcollaboration.cpp.
References m_diskName.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 247 of file dotgroupcollaboration.cpp.
References escapeCharsInString(), and DotGraph::m_baseName.
| bool DotGroupCollaboration::isTooBig | ( | ) | const |
Definition at line 327 of file dotgroupcollaboration.cpp.
References Config_getInt, and numNodes().
Referenced by GroupDefImpl::writeGroupGraph().
| bool DotGroupCollaboration::isTrivial | ( | ) | const |
Definition at line 322 of file dotgroupcollaboration.cpp.
References m_usedNodes.
Referenced by GroupDefImpl::writeGroupGraph().
| int DotGroupCollaboration::numNodes | ( | ) | const |
Definition at line 332 of file dotgroupcollaboration.cpp.
References m_usedNodes.
Referenced by isTooBig(), and GroupDefImpl::writeGroupGraph().
| DString DotGroupCollaboration::writeGraph | ( | TextStream & | t, |
| GraphOutputFormat | gf, | ||
| EmbeddedOutputFormat | ef, | ||
| const DString & | path, | ||
| const DString & | fileName, | ||
| const DString & | relPath, | ||
| bool | writeImageMap = true, | ||
| int | graphId = -1 ) |
Definition at line 252 of file dotgroupcollaboration.cpp.
References Html, DotGraph::m_doNotAddImageToIndex, and DotGraph::writeGraph().
Referenced by DocbookGenerator::endGroupCollaboration(), HtmlGenerator::endGroupCollaboration(), and LatexGenerator::endGroupCollaboration().
|
private |
Definition at line 337 of file dotgroupcollaboration.cpp.
References DotGraph::writeGraphHeader().
Referenced by computeTheGraph().
|
private |
Definition at line 89 of file dotgroupcollaboration.h.
Referenced by DotGroupCollaboration(), and getBaseName().
|
private |
Definition at line 90 of file dotgroupcollaboration.h.
Referenced by addEdge(), and computeTheGraph().
|
private |
Definition at line 87 of file dotgroupcollaboration.h.
Referenced by addCollaborationMember(), buildGraph(), computeTheGraph(), and DotGroupCollaboration().
|
private |
Definition at line 88 of file dotgroupcollaboration.h.
Referenced by addCollaborationMember(), buildGraph(), computeTheGraph(), DotGroupCollaboration(), isTrivial(), numNodes(), and ~DotGroupCollaboration().