|
Packit |
1c1d7e |
/******************************************************************************
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Copyright (C) 1997-2015 by Dimitri van Heesch.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Permission to use, copy, modify, and distribute this software and its
|
|
Packit |
1c1d7e |
* documentation under the terms of the GNU General Public License is hereby
|
|
Packit |
1c1d7e |
* granted. No representations are made about the suitability of this software
|
|
Packit |
1c1d7e |
* for any purpose. It is provided "as is" without express or implied warranty.
|
|
Packit |
1c1d7e |
* See the GNU General Public License for more details.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Documents produced by Doxygen are derivative works derived from the
|
|
Packit |
1c1d7e |
* input used in their production; they are not affected by this license.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
#ifndef DIAGRAM_H
|
|
Packit |
1c1d7e |
#define DIAGRAM_H
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
#include <qglobal.h>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
class ClassDef;
|
|
Packit |
1c1d7e |
class TreeDiagram;
|
|
Packit |
1c1d7e |
class FTextStream;
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/** Class representing a built-in class diagram. */
|
|
Packit |
1c1d7e |
class ClassDiagram
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
ClassDiagram(ClassDef *root);
|
|
Packit |
1c1d7e |
~ClassDiagram();
|
|
Packit |
1c1d7e |
void writeFigure(FTextStream &t,const char *path,
|
|
Packit |
1c1d7e |
const char *file) const;
|
|
Packit |
1c1d7e |
void writeImage(FTextStream &t,const char *path,const char *relPath,
|
|
Packit |
1c1d7e |
const char *file,bool generateMap=TRUE) const;
|
|
Packit |
1c1d7e |
private:
|
|
Packit |
1c1d7e |
TreeDiagram *base;
|
|
Packit |
1c1d7e |
TreeDiagram *super;
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
#endif
|
|
Packit |
1c1d7e |
|