Doxygen
Loading...
Searching...
No Matches
dotdirdeps.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2019 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
#ifndef DOTDIRDEPS_H
17
#define DOTDIRDEPS_H
18
19
#include <memory>
20
21
#include "
dotgraph.h
"
22
#include "
dirdef.h
"
23
24
/** Representation of an directory dependency graph */
25
class
DotDirDeps
:
public
DotGraph
26
{
27
public
:
28
DotDirDeps
(
const
DirDef *dir);
29
~DotDirDeps
()
override
;
30
NON_COPYABLE
(
DotDirDeps
)
31
32
bool
isTrivial
()
const
;
33
QCString
writeGraph
(TextStream &out,
34
GraphOutputFormat
gf,
35
EmbeddedOutputFormat
ef,
36
const
QCString &path,
37
const
QCString &fileName,
38
const
QCString &relPath,
39
bool
writeImageMap=
TRUE
,
40
int
graphId=-1,
41
bool
linkRelations=
TRUE
);
42
43
protected
:
44
QCString
getBaseName
()
const override
;
45
QCString
getMapLabel
()
const override
;
46
void
computeTheGraph
()
override
;
47
QCString
getImgAltText
()
const override
;
48
49
private
:
50
const
DirDef *
m_dir
=
nullptr
;
51
52
bool
m_linkRelations
=
false
;
53
};
54
55
using
DotDirDepsPtr
= std::shared_ptr<DotDirDeps>;
56
57
#endif
DotDirDeps::getImgAltText
QCString getImgAltText() const override
Definition
dotdirdeps.cpp:433
DotDirDeps::getMapLabel
QCString getMapLabel() const override
Definition
dotdirdeps.cpp:428
DotDirDeps::writeGraph
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)
Definition
dotdirdeps.cpp:438
DotDirDeps::~DotDirDeps
~DotDirDeps() override
Definition
dotdirdeps.cpp:407
DotDirDeps::computeTheGraph
void computeTheGraph() override
Definition
dotdirdeps.cpp:417
DotDirDeps::m_dir
const DirDef * m_dir
Definition
dotdirdeps.h:50
DotDirDeps::isTrivial
bool isTrivial() const
Definition
dotdirdeps.cpp:447
DotDirDeps::m_linkRelations
bool m_linkRelations
Definition
dotdirdeps.h:52
DotDirDeps::DotDirDeps
DotDirDeps(const DirDef *dir)
Definition
dotdirdeps.cpp:403
DotDirDeps::getBaseName
QCString getBaseName() const override
Definition
dotdirdeps.cpp:411
DotGraph::DotGraph
DotGraph()
Definition
dotgraph.h:38
NON_COPYABLE
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition
construct.h:37
dirdef.h
DotDirDepsPtr
std::shared_ptr< DotDirDeps > DotDirDepsPtr
Definition
dotdirdeps.h:55
dotgraph.h
EmbeddedOutputFormat
EmbeddedOutputFormat
Definition
dotgraph.h:30
GraphOutputFormat
GraphOutputFormat
Definition
dotgraph.h:29
TRUE
#define TRUE
Definition
qcstring.h:37
src
dotdirdeps.h
Generated by
1.13.0