Doxygen
diagram.h
浏览该文件的文档.
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 "qcstring.h"
24 
25 class ClassDef;
26 class TextStream;
27 
28 /** Class representing a built-in class diagram. */
30 {
31  public:
32  ClassDiagram(const ClassDef *root);
33  ~ClassDiagram();
34  void writeFigure(TextStream &t,const QCString &path,
35  const QCString &file) const;
36  void writeImage(TextStream &t,const QCString &path,const QCString &relPath,
37  const QCString &file,bool generateMap=true) const;
38  private:
39  struct Private;
40  std::unique_ptr<Private> p;
41 };
42 
43 #endif
44 
ClassDiagram::writeImage
void writeImage(TextStream &t, const QCString &path, const QCString &relPath, const QCString &file, bool generateMap=true) const
Definition: diagram.cpp:1342
TextStream
Text streaming class that buffers data.
Definition: textstream.h:33
qcstring.h
ClassDiagram::Private
Definition: diagram.cpp:1013
ClassDef
A abstract class representing of a compound symbol.
Definition: classdef.h:103
ClassDiagram::ClassDiagram
ClassDiagram(const ClassDef *root)
Definition: diagram.cpp:1023
ClassDiagram
Class representing a built-in class diagram.
Definition: diagram.h:29
ClassDiagram::p
std::unique_ptr< Private > p
Definition: diagram.h:39
ClassDiagram::~ClassDiagram
~ClassDiagram()
Definition: diagram.cpp:1043
ClassDiagram::writeFigure
void writeFigure(TextStream &t, const QCString &path, const QCString &file) const
Definition: diagram.cpp:1047
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108