Doxygen
Loading...
Searching...
No Matches
diagram.h
Go to the documentation of this file.
1/******************************************************************************
2 *
3 *
4 *
5 *
6 * Copyright (C) 1997-2015 by Dimitri van Heesch.
7 *
8 * Permission to use, copy, modify, and distribute this software and its
9 * documentation under the terms of the GNU General Public License is hereby
10 * granted. No representations are made about the suitability of this software
11 * for any purpose. It is provided "as is" without express or implied warranty.
12 * See the GNU General Public License for more details.
13 *
14 * Documents produced by Doxygen are derivative works derived from the
15 * input used in their production; they are not affected by this license.
16 *
17 */
18
19#ifndef DIAGRAM_H
20#define DIAGRAM_H
21
22#include <memory>
23#include "dstring.h"
24#include "construct.h"
25
26class ClassDef;
27class TextStream;
28
29/** Class representing a built-in class diagram. */
31{
32 public:
33 ClassDiagram(const ClassDef *root);
36 void writeFigure(TextStream &t,const DString &path,
37 const DString &file) const;
38 void writeImage(TextStream &t,const DString &path,const DString &relPath,
39 const DString &file,bool generateMap,bool toIndex) const;
40 private:
41 struct Private;
42 std::unique_ptr<Private> p;
43};
44
45#endif
46
A abstract class representing of a compound symbol.
Definition classdef.h:104
void writeImage(TextStream &t, const DString &path, const DString &relPath, const DString &file, bool generateMap, bool toIndex) const
Definition diagram.cpp:1361
void writeFigure(TextStream &t, const DString &path, const DString &file) const
Definition diagram.cpp:1065
ClassDiagram(const ClassDef *root)
Definition diagram.cpp:1041
std::unique_ptr< Private > p
Definition diagram.h:42
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:89
Text streaming class that buffers data.
Definition textstream.h:36
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
Definition construct.h:37