DiagramItem Class Reference

#include <diagram.h>

List of all members.

Public Member Functions

 DiagramItem (DiagramItem *p, int number, ClassDef *cd, Protection prot, Specifier virt, const char *ts)
 ~DiagramItem ()
QCString label () const
QCString fileName () const
DiagramItemparentItem ()
DiagramItemListgetChildren ()
void move (int dx, int dy)
int xPos () const
int yPos () const
int avgChildPos () const
int numChildren () const
void addChild (DiagramItem *di)
int number () const
Protection protection () const
Specifier virtualness () const
void putInList ()
bool isInList () const
ClassDefgetClassDef () const


Detailed Description

Definition at line 29 of file diagram.h.


Constructor & Destructor Documentation

DiagramItem::DiagramItem ( DiagramItem p,
int  number,
ClassDef cd,
Protection  prot,
Specifier  virt,
const char *  ts 
)

Definition at line 186 of file diagram.cpp.

DiagramItem::~DiagramItem (  ) 

Definition at line 201 of file diagram.cpp.


Member Function Documentation

QCString DiagramItem::label (  )  const

Definition at line 206 of file diagram.cpp.

References Config_getBool, ClassDef::displayName(), insertTemplateSpecifierInScope(), QCString, and stripScope().

Referenced by TreeDiagram::computeExtremes(), and ClassDiagram::writeFigure().

QCString DiagramItem::fileName (  )  const

Definition at line 221 of file diagram.cpp.

References ClassDef::getOutputFileBase().

DiagramItem* DiagramItem::parentItem (  )  [inline]

Definition at line 37 of file diagram.h.

Referenced by TreeDiagram::computeLayout(), TreeDiagram::computeRows(), TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().

DiagramItemList* DiagramItem::getChildren (  )  [inline]

Definition at line 38 of file diagram.h.

Referenced by TreeDiagram::computeLayout(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), and TreeDiagram::moveChildren().

void DiagramItem::move ( int  dx,
int  dy 
) [inline]

Definition at line 39 of file diagram.h.

Referenced by ClassDiagram::ClassDiagram(), TreeDiagram::computeLayout(), and TreeDiagram::moveChildren().

int DiagramItem::xPos (  )  const [inline]

Definition at line 40 of file diagram.h.

Referenced by avgChildPos(), ClassDiagram::ClassDiagram(), TreeDiagram::computeExtremes(), TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().

int DiagramItem::yPos (  )  const [inline]

Definition at line 41 of file diagram.h.

Referenced by TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().

int DiagramItem::avgChildPos (  )  const

Definition at line 226 of file diagram.cpp.

References isInList(), and xPos().

int DiagramItem::numChildren (  )  const

Definition at line 240 of file diagram.cpp.

void DiagramItem::addChild ( DiagramItem di  ) 

Definition at line 245 of file diagram.cpp.

Referenced by DiagramRow::insertClass().

int DiagramItem::number (  )  const [inline]

Definition at line 45 of file diagram.h.

Protection DiagramItem::protection (  )  const [inline]

Definition at line 46 of file diagram.h.

Referenced by TreeDiagram::drawConnectors().

Specifier DiagramItem::virtualness (  )  const [inline]

Definition at line 47 of file diagram.h.

void DiagramItem::putInList (  )  [inline]

Definition at line 48 of file diagram.h.

Referenced by TreeDiagram::computeLayout().

bool DiagramItem::isInList (  )  const [inline]

Definition at line 49 of file diagram.h.

Referenced by avgChildPos(), TreeDiagram::computeExtremes(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), and ClassDiagram::writeFigure().

ClassDef* DiagramItem::getClassDef (  )  const [inline]

Definition at line 50 of file diagram.h.

Referenced by TreeDiagram::drawBoxes().


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



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