Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
diagram.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2015 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 DIAGRAM_H
17
#define DIAGRAM_H
18
19
#include <memory>
20
21
#include "
construct.h
"
22
#include "
dstring.h
"
23
24
class
ClassDef
;
25
class
TextStream
;
26
27
/** Class representing a built-in class diagram. */
28
class
ClassDiagram
29
{
30
public
:
31
ClassDiagram
(
const
ClassDef
*root);
32
~ClassDiagram
();
33
NON_COPYABLE
(
ClassDiagram
)
34
void
writeFigure
(
TextStream
&t,
const
DString
&path,
35
const
DString
&file)
const
;
36
void
writeImage
(
TextStream
&t,
const
DString
&path,
const
DString
&relPath,
37
const
DString
&file,
bool
generateMap,
bool
toIndex)
const
;
38
private
:
39
struct
Private
;
40
std::unique_ptr<Private>
p
;
41
};
42
43
#endif
44
ClassDef
A abstract class representing of a compound symbol.
Definition
classdef.h:100
ClassDiagram::~ClassDiagram
~ClassDiagram()
ClassDiagram::writeImage
void writeImage(TextStream &t, const DString &path, const DString &relPath, const DString &file, bool generateMap, bool toIndex) const
Definition
diagram.cpp:1363
ClassDiagram::writeFigure
void writeFigure(TextStream &t, const DString &path, const DString &file) const
Definition
diagram.cpp:1067
ClassDiagram::ClassDiagram
ClassDiagram(const ClassDef *root)
Definition
diagram.cpp:1043
ClassDiagram::p
std::unique_ptr< Private > p
Definition
diagram.h:40
DString
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition
dstring.h:84
TextStream
Text streaming class that buffers data.
Definition
textstream.h:36
construct.h
NON_COPYABLE
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition
construct.h:37
dstring.h
ClassDiagram::Private
Definition
diagram.cpp:1034
src
diagram.h
Generated by
1.19.0