Doxygen
|
Class representing a single node in the built-in class diagram. More...
Public Member Functions | |
DiagramItem (DiagramItem *p, uint32_t number, const ClassDef *cd, Protection prot, Specifier virt, const QCString &ts) | |
QCString | label () const |
QCString | fileName () const |
DiagramItem * | parentItem () |
DiagramItemList | getChildren () |
void | move (int dx, int dy) |
uint32_t | xPos () const |
uint32_t | yPos () const |
float | xfPos () const |
float | yfPos () const |
uint32_t | avgChildPos () const |
uint32_t | numChildren () const |
void | addChild (DiagramItem *di) |
uint32_t | number () const |
Protection | protection () const |
Specifier | virtualness () const |
void | putInList () |
bool | isInList () const |
const ClassDef * | getClassDef () const |
Private Attributes | |
DiagramItemList | m_children |
DiagramItem * | m_parent |
uint32_t | m_x = 0 |
uint32_t | m_y = 0 |
uint32_t | m_num |
Protection | m_prot |
Specifier | m_virt |
QCString | m_templSpec |
bool | m_inList = false |
const ClassDef * | m_classDef |
Class representing a single node in the built-in class diagram.
Definition at line 41 of file diagram.cpp.
DiagramItem::DiagramItem | ( | DiagramItem * | p, |
uint32_t | number, | ||
const ClassDef * | cd, | ||
Protection | prot, | ||
Specifier | virt, | ||
const QCString & | ts ) |
Definition at line 297 of file diagram.cpp.
References DiagramItem(), m_classDef, m_num, m_parent, m_prot, m_templSpec, m_virt, and number().
Referenced by addChild(), avgChildPos(), DiagramItem(), and parentItem().
void DiagramItem::addChild | ( | DiagramItem * | di | ) |
Definition at line 349 of file diagram.cpp.
References DiagramItem(), and m_children.
uint32_t DiagramItem::avgChildPos | ( | ) | const |
Definition at line 330 of file diagram.cpp.
References DiagramItem(), m_children, and xPos().
Referenced by TreeDiagram::layoutTree().
QCString DiagramItem::fileName | ( | ) | const |
Definition at line 325 of file diagram.cpp.
References m_classDef.
|
inline |
Definition at line 49 of file diagram.cpp.
References m_children.
Referenced by TreeDiagram::drawConnectors(), TreeDiagram::layoutTree(), and TreeDiagram::moveChildren().
|
inline |
Definition at line 63 of file diagram.cpp.
References m_classDef.
Referenced by TreeDiagram::drawBoxes().
|
inline |
Definition at line 62 of file diagram.cpp.
References m_inList.
Referenced by TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
QCString DiagramItem::label | ( | ) | const |
Definition at line 303 of file diagram.cpp.
References Config_getBool, QCString::endsWith(), insertTemplateSpecifierInScope(), QCString::left(), QCString::length(), m_classDef, m_templSpec, and stripScope().
Referenced by writeBitmapBox(), and writeVectorBox().
|
inline |
Definition at line 50 of file diagram.cpp.
Referenced by ClassDiagram::ClassDiagram(), and TreeDiagram::computeLayout().
|
inline |
Definition at line 58 of file diagram.cpp.
References m_num.
Referenced by DiagramItem(), and TreeDiagram::layoutTree().
uint32_t DiagramItem::numChildren | ( | ) | const |
Definition at line 344 of file diagram.cpp.
References m_children.
Referenced by TreeDiagram::computeLayout(), TreeDiagram::drawBoxes(), and TreeDiagram::layoutTree().
|
inline |
Definition at line 48 of file diagram.cpp.
References DiagramItem(), and m_parent.
Referenced by TreeDiagram::computeLayout(), TreeDiagram::computeRows(), TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
|
inline |
Definition at line 59 of file diagram.cpp.
References m_prot.
Referenced by TreeDiagram::drawConnectors().
|
inline |
Definition at line 61 of file diagram.cpp.
|
inline |
Definition at line 60 of file diagram.cpp.
References m_virt.
Referenced by writeBitmapBox(), and writeVectorBox().
|
inline |
Definition at line 53 of file diagram.cpp.
References m_x.
Referenced by TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
|
inline |
Definition at line 51 of file diagram.cpp.
References m_x.
Referenced by avgChildPos(), ClassDiagram::ClassDiagram(), TreeDiagram::drawBoxes(), TreeDiagram::drawConnectors(), and TreeDiagram::layoutTree().
|
inline |
Definition at line 54 of file diagram.cpp.
References m_y.
Referenced by TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
|
inline |
Definition at line 52 of file diagram.cpp.
References m_y.
Referenced by TreeDiagram::drawBoxes(), and TreeDiagram::drawConnectors().
|
private |
Definition at line 65 of file diagram.cpp.
Referenced by addChild(), avgChildPos(), getChildren(), and numChildren().
|
private |
Definition at line 74 of file diagram.cpp.
Referenced by DiagramItem(), fileName(), getClassDef(), and label().
|
private |
Definition at line 73 of file diagram.cpp.
Referenced by isInList(), and putInList().
|
private |
Definition at line 69 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 70 of file diagram.cpp.
Referenced by DiagramItem(), and protection().
|
private |
Definition at line 72 of file diagram.cpp.
Referenced by DiagramItem(), and label().
|
private |
Definition at line 71 of file diagram.cpp.
Referenced by DiagramItem(), and virtualness().
|
private |
Definition at line 67 of file diagram.cpp.
|
private |
Definition at line 68 of file diagram.cpp.