ClassDiagram Class Reference

#include <diagram.h>

List of all members.

Public Member Functions

 ClassDiagram (ClassDef *root)
 ~ClassDiagram ()
void writeFigure (QTextStream &t, const char *path, const char *file) const
void writeImage (QTextStream &t, const char *path, const char *relPath, const char *file, bool generateMap=TRUE) const


Detailed Description

Definition at line 120 of file diagram.h.


Constructor & Destructor Documentation

ClassDiagram::ClassDiagram ( ClassDef root  ) 

Definition at line 940 of file diagram.cpp.

References clearVisitFlags(), TreeDiagram::computeLayout(), DiagramItem::move(), TreeDiagram::moveChildren(), and DiagramItem::xPos().

ClassDiagram::~ClassDiagram (  ) 

Definition at line 964 of file diagram.cpp.


Member Function Documentation

void ClassDiagram::writeFigure ( QTextStream &  t,
const char *  path,
const char *  file 
) const

Definition at line 970 of file diagram.cpp.

References TreeDiagram::computeExtremes(), TreeDiagram::computeRows(), Config_getBool, convertToQCString(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), err(), gridWidth, DiagramItem::isInList(), DiagramItem::label(), portable_system(), and QCString.

Referenced by LatexGenerator::endClassDiagram().

void ClassDiagram::writeImage ( QTextStream &  t,
const char *  path,
const char *  relPath,
const char *  file,
bool  generateMap = TRUE 
) const

Definition at line 1264 of file diagram.cpp.

References TreeDiagram::computeExtremes(), TreeDiagram::computeRows(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), fontHeight, gridWidth, labelHorMargin, labelHorSpacing, labelVertSpacing, and QCString.

Referenced by RTFGenerator::endClassDiagram(), and HtmlGenerator::endClassDiagram().


The documentation for this class was generated from the following files:



Generated on Mon Mar 31 10:58:56 2008 by  doxygen 1.5.1