Doxygen
|
Representation of an directory dependency graph. More...
#include <src/dotdirdeps.h>
Public Member Functions | |
DotDirDeps (const DirDef *dir) | |
~DotDirDeps () override | |
bool | isTrivial () const |
QCString | writeGraph (TextStream &out, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1, bool linkRelations=TRUE) |
Public Member Functions inherited from DotGraph | |
DotGraph () | |
virtual | ~DotGraph ()=default |
Protected Member Functions | |
QCString | getBaseName () const override |
QCString | getMapLabel () const override |
void | computeTheGraph () override |
QCString | getImgAltText () const 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 |
QCString | absBaseName () const |
QCString | absDotName () const |
QCString | imgName () const |
QCString | absImgName () const |
QCString | relImgName () const |
Private Attributes | |
const DirDef * | m_dir = nullptr |
bool | m_linkRelations = false |
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 an directory dependency graph.
Definition at line 25 of file dotdirdeps.h.
DotDirDeps::DotDirDeps | ( | const DirDef * | dir | ) |
Definition at line 403 of file dotdirdeps.cpp.
References m_dir.
|
override |
Definition at line 407 of file dotdirdeps.cpp.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 417 of file dotdirdeps.cpp.
References m_dir, m_linkRelations, DotGraph::m_theGraph, TextStream::str(), writeDotDirDepGraph(), DotGraph::writeGraphFooter(), and DotGraph::writeGraphHeader().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from DotGraph.
Definition at line 433 of file dotdirdeps.cpp.
References convertToXML(), and m_dir.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 428 of file dotdirdeps.cpp.
References escapeCharsInString(), FALSE, and DotGraph::m_baseName.
bool DotDirDeps::isTrivial | ( | ) | const |
Definition at line 447 of file dotdirdeps.cpp.
References m_dir.
Referenced by DirDefImpl::writeDirectoryGraph().
QCString DotDirDeps::writeGraph | ( | TextStream & | out, |
GraphOutputFormat | gf, | ||
EmbeddedOutputFormat | ef, | ||
const QCString & | path, | ||
const QCString & | fileName, | ||
const QCString & | relPath, | ||
bool | writeImageMap = TRUE, | ||
int | graphId = -1, | ||
bool | linkRelations = TRUE ) |
Definition at line 438 of file dotdirdeps.cpp.
References m_linkRelations, DotGraph::m_urlOnly, TRUE, and DotGraph::writeGraph().
Referenced by DocbookGenerator::endDirDepGraph(), HtmlGenerator::endDirDepGraph(), LatexGenerator::endDirDepGraph(), and RTFGenerator::endDirDepGraph().
|
private |
Definition at line 50 of file dotdirdeps.h.
Referenced by computeTheGraph(), DotDirDeps(), getBaseName(), getImgAltText(), and isTrivial().
|
private |
Definition at line 52 of file dotdirdeps.h.
Referenced by computeTheGraph(), and writeGraph().