Doxygen
|
Representation of a group collaboration graph. More...
#include <src/dotgroupcollaboration.h>
Classes | |
struct | Edge |
struct | Link |
Public Member Functions | |
DotGroupCollaboration (const GroupDef *gd) | |
~DotGroupCollaboration () override | |
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 |
Public Member Functions inherited from DotGraph | |
DotGraph () | |
virtual | ~DotGraph ()=default |
Protected Member Functions | |
QCString | getBaseName () const override |
QCString | getMapLabel () const override |
void | computeTheGraph () override |
Protected Member Functions inherited from DotGraph | |
int | getNextNodeNumber () |
returns the node number. | |
int | getNextEdgeNumber () |
returns the edge number. | |
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 |
virtual QCString | getImgAltText () const |
QCString | absBaseName () const |
QCString | absDotName () const |
QCString | imgName () const |
QCString | absImgName () const |
QCString | 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, QCString &url, EdgeType eType) |
void | addMemberList (class MemberList *ml) |
void | writeGraphHeader (TextStream &t, const QCString &title) const |
Edge * | addEdge (DotNode *_pNStart, DotNode *_pNEnd, EdgeType _eType, const QCString &_label, const QCString &_url) |
Private Attributes | |
DotNode * | m_rootNode |
DotNodeMap | m_usedNodes |
QCString | 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 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 Attributes inherited from DotGraph | |
GraphOutputFormat | m_graphFormat = GraphOutputFormat::BITMAP |
EmbeddedOutputFormat | m_textFormat = EmbeddedOutputFormat::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 group collaboration graph.
Definition at line 28 of file dotgroupcollaboration.h.
|
private |
Enumerator | |
---|---|
tmember | |
tclass | |
tnamespace | |
tfile | |
tpages | |
tdir | |
thierarchy |
Definition at line 48 of file dotgroupcollaboration.h.
DotGroupCollaboration::DotGroupCollaboration | ( | const GroupDef * | gd | ) |
Definition at line 25 of file dotgroupcollaboration.cpp.
References Definition::briefDescriptionAsTooltip(), buildGraph(), DotGraph::DotNode, Definition::getOutputFileBase(), Definition::getReference(), GroupDef::groupTitle(), m_diskName, m_rootNode, m_usedNodes, Definition::name(), QCString::str(), and TRUE.
|
override |
Definition at line 38 of file dotgroupcollaboration.cpp.
References m_usedNodes.
|
private |
Definition at line 186 of file dotgroupcollaboration.cpp.
References addEdge(), DotGraph::DotNode, m_rootNode, m_usedNodes, DotNode::markAsVisible(), Definition::partOfGroups(), and Definition::qualifiedName().
Referenced by addMemberList(), and buildGraph().
|
private |
Definition at line 162 of file dotgroupcollaboration.cpp.
References DotGraph::DotNode, QCString::isEmpty(), and m_edges.
Referenced by addCollaborationMember(), and buildGraph().
|
private |
Definition at line 151 of file dotgroupcollaboration.cpp.
References addCollaborationMember(), MemberVector::empty(), makeURL(), and tmember.
Referenced by buildGraph().
|
private |
Definition at line 58 of file dotgroupcollaboration.cpp.
References addCollaborationMember(), addEdge(), addMemberList(), DotGraph::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 216 of file dotgroupcollaboration.cpp.
References FALSE, Inheritance, m_edges, DotGraph::m_graphFormat, m_rootNode, DotGraph::m_theGraph, m_usedNodes, TextStream::str(), TRUE, DotGraph::writeGraphFooter(), and writeGraphHeader().
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 211 of file dotgroupcollaboration.cpp.
References m_diskName.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 244 of file dotgroupcollaboration.cpp.
References escapeCharsInString(), FALSE, and DotGraph::m_baseName.
bool DotGroupCollaboration::isTooBig | ( | ) | const |
Definition at line 324 of file dotgroupcollaboration.cpp.
References Config_getInt, and numNodes().
Referenced by GroupDefImpl::writeGroupGraph().
bool DotGroupCollaboration::isTrivial | ( | ) | const |
Definition at line 319 of file dotgroupcollaboration.cpp.
References m_usedNodes.
Referenced by GroupDefImpl::writeGroupGraph().
int DotGroupCollaboration::numNodes | ( | ) | const |
Definition at line 329 of file dotgroupcollaboration.cpp.
References m_usedNodes.
Referenced by isTooBig(), and GroupDefImpl::writeGroupGraph().
QCString DotGroupCollaboration::writeGraph | ( | TextStream & | t, |
GraphOutputFormat | gf, | ||
EmbeddedOutputFormat | ef, | ||
const QCString & | path, | ||
const QCString & | fileName, | ||
const QCString & | relPath, | ||
bool | writeImageMap = TRUE, | ||
int | graphId = -1 ) |
Definition at line 249 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 334 of file dotgroupcollaboration.cpp.
References DotGraph::writeGraphHeader().
Referenced by computeTheGraph().
|
private |
Definition at line 88 of file dotgroupcollaboration.h.
Referenced by DotGroupCollaboration(), and getBaseName().
|
private |
Definition at line 89 of file dotgroupcollaboration.h.
Referenced by addEdge(), and computeTheGraph().
|
private |
Definition at line 86 of file dotgroupcollaboration.h.
Referenced by addCollaborationMember(), buildGraph(), computeTheGraph(), and DotGroupCollaboration().
|
private |
Definition at line 87 of file dotgroupcollaboration.h.
Referenced by addCollaborationMember(), buildGraph(), computeTheGraph(), DotGroupCollaboration(), isTrivial(), numNodes(), and ~DotGroupCollaboration().