Doxygen
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
24class ClassDef;
25class TextStream;
26
27/** Class representing a built-in class diagram. */
29{
30 public:
31 ClassDiagram(const ClassDef *root);
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
A abstract class representing of a compound symbol.
Definition classdef.h:100
void writeImage(TextStream &t, const DString &path, const DString &relPath, const DString &file, bool generateMap, bool toIndex) const
Definition diagram.cpp:1363
void writeFigure(TextStream &t, const DString &path, const DString &file) const
Definition diagram.cpp:1067
ClassDiagram(const ClassDef *root)
Definition diagram.cpp:1043
std::unique_ptr< Private > p
Definition diagram.h:40
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
Definition dstring.h:84
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