#include <dot.h>
| Public Types | |
| enum | GraphType { Dependency, Inheritance, Collaboration, Hierarchy, CallGraph } | 
| enum | TruncState { Unknown, Truncated, Untruncated } | 
| Public Member Functions | |
| DotNode (int n, const char *lab, const char *tip, const char *url, bool rootNode=FALSE, ClassDef *cd=0) | |
| ~DotNode () | |
| void | addChild (DotNode *n, int edgeColor=EdgeInfo::Purple, int edgeStyle=EdgeInfo::Solid, const char *edgeLab=0, const char *edgeURL=0, int edgeLabCol=-1) | 
| void | addParent (DotNode *n) | 
| void | deleteNode (DotNodeList &deletedList, SDict< DotNode > *skipNodes=0) | 
| void | removeChild (DotNode *n) | 
| void | removeParent (DotNode *n) | 
| int | findParent (DotNode *n) | 
| void | write (QTextStream &t, GraphType gt, GraphOutputFormat f, bool topDown, bool toChildren, bool backArrows, bool reNumber) | 
| void | clearWriteFlag () | 
| void | writeXML (QTextStream &t, bool isClassGraph) | 
| void | writeDEF (QTextStream &t) | 
| QCString | label () const | 
| int | number () const | 
| bool | isVisible () const | 
| TruncState | isTruncated () const | 
| int | distance () const | 
| Public Attributes | |
| int | m_subgraphId | 
| Friends | |
| class | DotGfxHierarchyTable | 
| class | DotClassGraph | 
| class | DotInclDepGraph | 
| class | DotNodeList | 
| class | DotCallGraph | 
| class | DotGroupCollaboration | 
| QCString | computeMd5Signature (DotNode *root, GraphType gt, GraphOutputFormat f, bool lrRank, bool renderParents, bool backArrows, QCString &graphStr) | 
Definition at line 55 of file dot.h.
| enum DotNode::GraphType | 
| enum DotNode::TruncState | 
| DotNode::DotNode | ( | int | n, | |
| const char * | lab, | |||
| const char * | tip, | |||
| const char * | url, | |||
| bool | rootNode = FALSE, | |||
| ClassDef * | cd = 0 | |||
| ) | 
| void DotNode::addChild | ( | DotNode * | n, | |
| int | edgeColor = EdgeInfo::Purple, | |||
| int | edgeStyle = EdgeInfo::Solid, | |||
| const char * | edgeLab = 0, | |||
| const char * | edgeURL = 0, | |||
| int | edgeLabCol = -1 | |||
| ) | 
Definition at line 435 of file dot.cpp.
References EdgeInfo::m_color, EdgeInfo::m_labColor, EdgeInfo::m_label, EdgeInfo::m_style, and EdgeInfo::m_url.
Referenced by DotCallGraph::buildGraph().
| void DotNode::addParent | ( | DotNode * | n | ) | 
| void DotNode::deleteNode | ( | DotNodeList & | deletedList, | |
| SDict< DotNode > * | skipNodes = 0 | |||
| ) | 
Definition at line 481 of file dot.cpp.
References deleteNode(), and SDict< T >::find().
Referenced by deleteNode().
| void DotNode::write | ( | QTextStream & | t, | |
| GraphType | gt, | |||
| GraphOutputFormat | f, | |||
| bool | topDown, | |||
| bool | toChildren, | |||
| bool | backArrows, | |||
| bool | reNumber | |||
| ) | 
Definition at line 727 of file dot.cpp.
References isVisible(), m_children, m_edgeInfo, Truncated, and write().
Referenced by computeMd5Signature(), write(), DotGroupCollaboration::writeGraph(), and DotGfxHierarchyTable::writeGraph().
| void DotNode::clearWriteFlag | ( | ) | 
Definition at line 918 of file dot.cpp.
References clearWriteFlag(), and m_written.
Referenced by clearWriteFlag(), computeMd5Signature(), DotGroupCollaboration::writeGraph(), and DotGfxHierarchyTable::writeGraph().
| void DotNode::writeXML | ( | QTextStream & | t, | |
| bool | isClassGraph | |||
| ) | 
Definition at line 785 of file dot.cpp.
References EdgeInfo::Blue, convertToXML(), EdgeInfo::Green, EdgeInfo::Grey, EdgeInfo::m_color, EdgeInfo::m_label, m_number, EdgeInfo::Orange, EdgeInfo::Purple, and EdgeInfo::Red.
Referenced by DotInclDepGraph::writeXML(), and DotClassGraph::writeXML().
| void DotNode::writeDEF | ( | QTextStream & | t | ) | 
Definition at line 854 of file dot.cpp.
References EdgeInfo::Blue, EdgeInfo::Green, EdgeInfo::Grey, EdgeInfo::m_color, EdgeInfo::m_label, m_number, EdgeInfo::Orange, EdgeInfo::Purple, and EdgeInfo::Red.
Referenced by DotClassGraph::writeDEF().
| int DotNode::number | ( | ) | const  [inline] | 
| bool DotNode::isVisible | ( | ) | const  [inline] | 
Definition at line 83 of file dot.h.
Referenced by computeMd5Signature(), DotCallGraph::determineTruncatedNodes(), DotCallGraph::determineVisibleNodes(), and write().
| TruncState DotNode::isTruncated | ( | ) | const  [inline] | 
| int DotNode::distance | ( | ) | const  [inline] | 
| friend class DotGfxHierarchyTable  [friend] | 
| friend class DotClassGraph  [friend] | 
| friend class DotInclDepGraph  [friend] | 
| friend class DotNodeList  [friend] | 
| friend class DotCallGraph  [friend] | 
| friend class DotGroupCollaboration  [friend] | 
| QCString computeMd5Signature | ( | DotNode * | root, | |
| DotNode::GraphType | gt, | |||
| GraphOutputFormat | f, | |||
| bool | lrRank, | |||
| bool | renderParents, | |||
| bool | backArrows, | |||
| QCString & | graphStr | |||
| ) |  [friend] | 
Definition at line 77 of file dot.h.
Referenced by DotGfxHierarchyTable::DotGfxHierarchyTable(), and DotGfxHierarchyTable::writeGraph().
 1.5.1
 1.5.1