My Project
|
Public Member Functions | |
DiagramItem (DiagramItem *p, int number, ClassDef *cd, Protection prot, Specifier virt, const char *ts) | |
~DiagramItem () | |
QCString | label () const |
QCString | fileName () const |
DiagramItem * | parentItem () |
DiagramItemList * | getChildren () |
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 |
ClassDef * | getClassDef () const |
Private Attributes | |
DiagramItemList * | children |
DiagramItem * | parent |
int | x |
int | y |
int | num |
Protection | prot |
Specifier | virt |
QCString | templSpec |
bool | inList |
ClassDef * | classDef |
Class representing a single node in the built-in class diagram
Definition at line 42 of file diagram.cpp.
DiagramItem::DiagramItem | ( | DiagramItem * | p, |
int | number, | ||
ClassDef * | cd, | ||
Protection | prot, | ||
Specifier | virt, | ||
const char * | ts | ||
) |
DiagramItem::~DiagramItem | ( | ) |
void DiagramItem::addChild | ( | DiagramItem * | di | ) |
Definition at line 352 of file diagram.cpp.
References children.
Referenced by DiagramRow::insertClass().
int DiagramItem::avgChildPos | ( | ) | const |
Definition at line 333 of file diagram.cpp.
References children, isInList(), and xPos().
Referenced by TreeDiagram::layoutTree().
QCString DiagramItem::fileName | ( | ) | const |
Definition at line 328 of file diagram.cpp.
References classDef, and ClassDef::getOutputFileBase().
|
inline |
Definition at line 51 of file diagram.cpp.
References children.
Referenced by TreeDiagram::computeLayout(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), TreeDiagram::layoutTree(), and TreeDiagram::moveChildren().
|
inline |
Definition at line 63 of file diagram.cpp.
References classDef.
Referenced by TreeDiagram::drawBoxes().
|
inline |
Definition at line 62 of file diagram.cpp.
References inList.
Referenced by avgChildPos(), TreeDiagram::computeExtremes(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), TreeDiagram::layoutTree(), and ClassDiagram::writeFigure().
QCString DiagramItem::label | ( | ) | const |
Definition at line 306 of file diagram.cpp.
References classDef, Config_getBool, ClassDef::displayName(), insertTemplateSpecifierInScope(), Definition::name(), stripScope(), and templSpec.
Referenced by TreeDiagram::computeExtremes(), writeBitmapBox(), ClassDiagram::writeFigure(), and writeVectorBox().
|
inline |
Definition at line 52 of file diagram.cpp.
Referenced by ClassDiagram::ClassDiagram(), TreeDiagram::computeLayout(), DiagramRow::insertClass(), and TreeDiagram::moveChildren().
|
inline |
Definition at line 58 of file diagram.cpp.
References num.
Referenced by DiagramItem(), and TreeDiagram::layoutTree().
int DiagramItem::numChildren | ( | ) | const |
|
inline |
Definition at line 50 of file diagram.cpp.
References parent.
Referenced by TreeDiagram::computeLayout(), TreeDiagram::computeRows(), TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
|
inline |
Definition at line 59 of file diagram.cpp.
References prot.
Referenced by TreeDiagram::drawConnectors(), and getMinProtectionLevel().
|
inline |
Definition at line 61 of file diagram.cpp.
References inList.
Referenced by TreeDiagram::computeLayout().
|
inline |
Definition at line 60 of file diagram.cpp.
References virt.
Referenced by writeBitmapBox(), and writeVectorBox().
|
inline |
Definition at line 53 of file diagram.cpp.
References x.
Referenced by avgChildPos(), ClassDiagram::ClassDiagram(), TreeDiagram::computeExtremes(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), and TreeDiagram::layoutTree().
|
inline |
Definition at line 54 of file diagram.cpp.
References y.
Referenced by TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
|
private |
Definition at line 65 of file diagram.cpp.
Referenced by addChild(), avgChildPos(), DiagramItem(), getChildren(), numChildren(), and ~DiagramItem().
|
private |
Definition at line 73 of file diagram.cpp.
Referenced by DiagramItem(), fileName(), getClassDef(), and label().
|
private |
Definition at line 72 of file diagram.cpp.
Referenced by DiagramItem(), isInList(), and putInList().
|
private |
Definition at line 68 of file diagram.cpp.
Referenced by DiagramItem(), and number().
|
private |
Definition at line 66 of file diagram.cpp.
Referenced by DiagramItem(), and parentItem().
|
private |
Definition at line 69 of file diagram.cpp.
Referenced by DiagramItem(), and protection().
|
private |
Definition at line 71 of file diagram.cpp.
Referenced by DiagramItem(), and label().
|
private |
Definition at line 70 of file diagram.cpp.
Referenced by DiagramItem(), and virtualness().
|
private |
Definition at line 67 of file diagram.cpp.
Referenced by DiagramItem(), move(), and xPos().
|
private |
Definition at line 67 of file diagram.cpp.
Referenced by DiagramItem(), move(), and yPos().