|
Doxygen
|
Representation of an directory dependency graph. More...
#include <src/dotdirdeps.h>
Public Member Functions | |
| DotDirDeps (const DirDef *dir) | |
| ~DotDirDeps () override | |
| bool | isTrivial () const |
| DString | writeGraph (TextStream &out, GraphOutputFormat gf, EmbeddedOutputFormat ef, const DString &path, const DString &fileName, const DString &relPath, bool writeImageMap=true, int graphId=-1, bool linkRelations=true) |
| Public Member Functions inherited from DotGraph | |
| DotGraph () | |
| virtual | ~DotGraph ()=default |
Protected Member Functions | |
| DString | getBaseName () const override |
| DString | getMapLabel () const override |
| void | computeTheGraph () override |
| DString | getImgAltText () const 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 |
| DString | absBaseName () const |
| DString | absDotName () const |
| DString | imgName () const |
| DString | absImgName () const |
| DString | 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 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 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 Definition::displayName(), m_dir, m_linkRelations, DotGraph::m_theGraph, TextStream::str(), writeDotDirDepGraph(), DotGraph::writeGraphFooter(), and DotGraph::writeGraphHeader().
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 411 of file dotdirdeps.cpp.
References Definition::getOutputFileBase(), and m_dir.
|
overrideprotectedvirtual |
Reimplemented from DotGraph.
Definition at line 433 of file dotdirdeps.cpp.
References convertToXML(), Definition::displayName(), and m_dir.
|
overrideprotectedvirtual |
Implements DotGraph.
Definition at line 428 of file dotdirdeps.cpp.
References escapeCharsInString(), and DotGraph::m_baseName.
| bool DotDirDeps::isTrivial | ( | ) | const |
Definition at line 450 of file dotdirdeps.cpp.
References DirDef::depGraphIsTrivial(), and m_dir.
Referenced by DirDefImpl::writeDirectoryGraph().
| DString DotDirDeps::writeGraph | ( | TextStream & | out, |
| GraphOutputFormat | gf, | ||
| EmbeddedOutputFormat | ef, | ||
| const DString & | path, | ||
| const DString & | fileName, | ||
| const DString & | relPath, | ||
| bool | writeImageMap = true, | ||
| int | graphId = -1, | ||
| bool | linkRelations = true ) |
Definition at line 438 of file dotdirdeps.cpp.
References Html, DotGraph::m_doNotAddImageToIndex, m_linkRelations, DotGraph::m_urlOnly, 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().