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 <qglobal.h>
23 
24 class ClassDef;
25 class TreeDiagram;
26 class FTextStream;
27 
28 /** Class representing a built-in class diagram. */
30 {
31  public:
32  ClassDiagram(ClassDef *root);
33  ~ClassDiagram();
34  void writeFigure(FTextStream &t,const char *path,
35  const char *file) const;
36  void writeImage(FTextStream &t,const char *path,const char *relPath,
37  const char *file,bool generateMap=TRUE) const;
38  private:
41 };
42 
43 #endif
44 
ClassDiagram(ClassDef *root)
Definition: diagram.cpp:1027
void writeFigure(FTextStream &t, const char *path, const char *file) const
Definition: diagram.cpp:1057
Simplified and optimized version of QTextStream.
Definition: ftextstream.h:11
TreeDiagram * base
Definition: diagram.h:39
void writeImage(FTextStream &t, const char *path, const char *relPath, const char *file, bool generateMap=TRUE) const
Definition: diagram.cpp:1353
TreeDiagram * super
Definition: diagram.h:40
const bool TRUE
Definition: qglobal.h:371