The FlowChart
Class Reference
Declaration
Included Headers
Enumerations Index
enum | nodeTypes { ... } |
Public Constructors Index
FlowChart (int typ, const QCString &t, const QCString &ex, const QCString &label=QCString()) | |
Private Member Attributes Index
int | id = 0 |
int | stamp = 0 |
int | type = 0 |
int | line = 0 |
QCString | label |
QCString | text |
QCString | exp |
Public Static Functions Index
static void | createSVG () |
static void | startDot (TextStream &t) |
static void | endDot (TextStream &t) |
static void | codify (TextStream &t, const QCString &str) |
static void | writeShape (TextStream &t, const FlowChart &fl) |
static void | writeEdge (TextStream &t, int fl_from, int fl_to, int i, bool bFrom=FALSE, bool bTo=FALSE) |
static void | writeEdge (TextStream &t, const FlowChart &fl_from, const FlowChart &fl_to, int i) |
static void | writeFlowLinks (TextStream &t) |
static QCString | getNodeName (int n) |
static void | colTextNodes () |
static size_t | getNextIfLink (const FlowChart &, size_t) |
static size_t | getNextNode (size_t index, int stamp) |
static size_t | findNode (size_t index, int stamp, int type) |
static size_t | findNode (size_t index, int type) |
static size_t | findNextLoop (size_t j, int stamp) |
static size_t | findPrevLoop (size_t j, int stamp, bool endif=FALSE) |
static size_t | findLabel (size_t j, const QCString &) |
static void | delFlowList () |
static const char * | getNodeType (int c) |
static void | addFlowChart (int type, const QCString &text, const QCString &exp, const QCString &label=QCString()) |
static void | moveToPrevLevel () |
static int | getTimeStamp () |
static void | writeFlowChart () |
static void | alignFuncProc (QCString &q, const ArgumentList &al, bool isFunc) |
static QCString | convertNameToFileName () |
static void | printNode (const FlowChart &n) |
static void | printFlowTree () |
static void | buildCommentNodes (TextStream &t) |
static void | alignCommentNode (TextStream &t, QCString com) |
static void | printUmlTree () |
static QCString | printPlantUmlNode (const FlowChart &flo, bool, bool) |
Definition at line 238 of file vhdldocgen.h.
Enumerations
nodeTypes
|
- Enumeration values
Definition at line 241 of file vhdldocgen.h.
Public Constructors
FlowChart()
|
Declaration at line 302 of file vhdldocgen.h, definition at line 2864 of file vhdldocgen.cpp.
References ELSE_NO, ELSIF_NO, END_NO, exp, ifcounter, label, nodeCounter, stamp, START_NO, STARTL, text, type and VARIABLE_NO.
Referenced by addFlowChart, buildCommentNodes, colTextNodes, findLabel, findNextLoop, findNode, findPrevLoop, getNextIfLink, getNextNode, getTimeStamp, printNode, printPlantUmlNode, printUmlTree, writeEdge, writeFlowLinks and writeShape.
Private Member Attributes
exp
|
Definition at line 313 of file vhdldocgen.h.
Referenced by addFlowChart, findNode, FlowChart, printNode, printPlantUmlNode, writeFlowLinks and writeShape.
id
|
Definition at line 305 of file vhdldocgen.h.
Referenced by buildCommentNodes, printNode, writeEdge and writeShape.
label
|
Definition at line 311 of file vhdldocgen.h.
Referenced by addFlowChart, buildCommentNodes, findLabel, findNode, FlowChart, getTimeStamp, printNode, printPlantUmlNode, writeEdge, writeFlowLinks and writeShape.
line
|
stamp
|
Definition at line 306 of file vhdldocgen.h.
Referenced by colTextNodes, findNextLoop, findNode, findNode, findPrevLoop, FlowChart, getNextIfLink, getNextNode, printNode and writeFlowLinks.
text
|
Definition at line 312 of file vhdldocgen.h.
Referenced by addFlowChart, colTextNodes, findNode, FlowChart, printNode, printPlantUmlNode, writeFlowLinks and writeShape.
type
|
Definition at line 307 of file vhdldocgen.h.
Referenced by addFlowChart, buildCommentNodes, colTextNodes, findLabel, findNextLoop, findNode, findNode, findPrevLoop, FlowChart, getNextNode, printNode, printPlantUmlNode, printUmlTree, writeEdge, writeFlowLinks and writeShape.
Public Static Functions
addFlowChart()
| static |
Declaration at line 288 of file vhdldocgen.h, definition at line 2891 of file vhdldocgen.cpp.
References exp, FlowChart, flowList, VhdlDocGen::getFlowMember, label, START_NO, substitute, text, type and VARIABLE_NO.
Referenced by VHDLOutlineParser::createFlow and VHDLOutlineParser::handleFlowComment.
alignCommentNode()
| static |
Declaration at line 297 of file vhdldocgen.h, definition at line 2721 of file vhdldocgen.cpp.
References QCString::append, codify, QCString::fill, QCString::length, split and QCString::str.
Referenced by buildCommentNodes and writeShape.
alignFuncProc()
| static |
Declaration at line 292 of file vhdldocgen.h, definition at line 3279 of file vhdldocgen.cpp.
References QCString::fill, VhdlDocGen::getFlowMember, QCString::length, Definition::name, QCString::prepend and ArgumentList::size.
Referenced by VHDLOutlineParser::createFlow.
buildCommentNodes()
| static |
Declaration at line 296 of file vhdldocgen.h, definition at line 2757 of file vhdldocgen.cpp.
References alignCommentNode, begin, BEGIN_NO, COMMENT_NO, FlowChart, flowCol, FLOWLEN, flowList, getNodeName, id, label, line, type and writeEdge.
Referenced by writeFlowChart.
codify()
| static |
Declaration at line 269 of file vhdldocgen.h, definition at line 2842 of file vhdldocgen.cpp.
References QCString::data and QCString::isEmpty.
Referenced by alignCommentNode.
colTextNodes()
| static |
Declaration at line 276 of file vhdldocgen.h, definition at line 2657 of file vhdldocgen.cpp.
References ELSE_NO, EMPTY, FALSE, FlowChart, flowList, IFF, stamp, text, TEXT_NO, TRUE and type.
Referenced by writeFlowChart.
convertNameToFileName()
| static |
Declaration at line 293 of file vhdldocgen.h, definition at line 3016 of file vhdldocgen.cpp.
References VhdlDocGen::getFlowMember and Definition::name.
Referenced by createSVG, HtmlDocVisitor::operator() and printUmlTree.
createSVG()
| static |
Declaration at line 266 of file vhdldocgen.h, definition at line 3050 of file vhdldocgen.cpp.
References Config_getString, convertNameToFileName, err, Portable::system and Doxygen::verifiedDotPath.
Referenced by writeFlowChart.
delFlowList()
| static |
Declaration at line 285 of file vhdldocgen.h, definition at line 2714 of file vhdldocgen.cpp.
References flowList, ifcounter and nodeCounter.
Referenced by writeFlowChart.
endDot()
| static |
Declaration at line 268 of file vhdldocgen.h, definition at line 3080 of file vhdldocgen.cpp.
Referenced by writeFlowChart.
findLabel()
| static |
Declaration at line 284 of file vhdldocgen.h, definition at line 3352 of file vhdldocgen.cpp.
References err, FlowChart, flowList, QCString::isEmpty, label, LOOP, qstricmp and type.
Referenced by writeFlowLinks.
findNextLoop()
| static |
Declaration at line 282 of file vhdldocgen.h, definition at line 3312 of file vhdldocgen.cpp.
References END_LOOP, FlowChart, flowList, stamp and type.
Referenced by writeFlowLinks.
findNode()
| static |
Declaration at line 280 of file vhdldocgen.h, definition at line 3366 of file vhdldocgen.cpp.
References FlowChart, flowList, stamp and type.
Referenced by getNextIfLink, getNextNode and writeFlowLinks.
findNode()
| static |
findPrevLoop()
| static |
Declaration at line 283 of file vhdldocgen.h, definition at line 3329 of file vhdldocgen.cpp.
References FlowChart, flowList, LOOP, stamp and type.
Referenced by writeFlowLinks.
getNextIfLink()
| static |
Declaration at line 278 of file vhdldocgen.h, definition at line 3420 of file vhdldocgen.cpp.
References ELSE_NO, ELSIF_NO, ENDIF_NO, findNode, FlowChart, flowList, getNextNode and stamp.
Referenced by writeFlowLinks.
getNextNode()
| static |
Declaration at line 279 of file vhdldocgen.h, definition at line 3379 of file vhdldocgen.cpp.
References ELSE_NO, ELSIF_NO, END_CASE, ENDIF_NO, findNode, FlowChart, FLOWLEN, flowList, stamp, type and WHEN_NO.
Referenced by getNextIfLink and writeFlowLinks.
getNodeName()
| static |
Declaration at line 275 of file vhdldocgen.h, definition at line 2707 of file vhdldocgen.cpp.
References QCString::prepend and QCString::setNum.
Referenced by buildCommentNodes, writeEdge, writeEdge and writeShape.
getNodeType()
| static |
Declaration at line 286 of file vhdldocgen.h, definition at line 3021 of file vhdldocgen.cpp.
References BEGIN_NO, CASE_NO, COMMENT_NO, ELSE_NO, ELSIF_NO, EMPTY_NO, END_CASE, END_LOOP, END_NO, ENDIF_NO, EXIT_NO, FOR_NO, IF_NO, LOOP_NO, NEXT_NO, RETURN_NO, START_NO, TEXT_NO, VARIABLE_NO, WHEN_NO and WHILE_NO.
Referenced by printNode.
getTimeStamp()
| static |
Definition at line 290 of file vhdldocgen.h.
moveToPrevLevel()
| static |
Declaration at line 289 of file vhdldocgen.h, definition at line 2930 of file vhdldocgen.cpp.
References VhdlDocGen::getFlowMember and ifcounter.
printFlowTree()
| static |
Declaration at line 295 of file vhdldocgen.h, definition at line 2649 of file vhdldocgen.cpp.
References flowList and printNode.
Referenced by writeFlowChart.
printNode()
| static |
Declaration at line 294 of file vhdldocgen.h, definition at line 2589 of file vhdldocgen.cpp.
References COMMENT_NO, EMPTNODE, exp, QCString::fill, FlowChart, getNodeType, id, label, QCString::left, qPrint, reg::replace, stamp, STARTL, QCString::str, QCString::stripWhiteSpace, text and type.
Referenced by printFlowTree.
printPlantUmlNode()
| static |
Declaration at line 300 of file vhdldocgen.h, definition at line 2936 of file vhdldocgen.cpp.
References BEGIN_NO, CASE_NO, COMMENT_NO, ELSE_NO, ELSIF_NO, EMPTY_NO, END_CASE, END_LOOP, END_NO, ENDIF_NO, EXIT_NO, exp, FlowChart, FOR_NO, IF_NO, label, LOOP_NO, NEXT_NO, RETURN_NO, START_NO, QCString::stripWhiteSpace, text, TEXT_NO, type, VARIABLE_NO, WHEN_NO and WHILE_NO.
Referenced by printUmlTree.
printUmlTree()
| static |
Declaration at line 299 of file vhdldocgen.h, definition at line 2975 of file vhdldocgen.cpp.
References CASE_NO, Config_getString, convertNameToFileName, END_CASE, FlowChart, FLOWLEN, flowList, PlantumlManager::generatePlantUMLOutput, PlantumlManager::instance, printPlantUmlNode, PlantumlManager::PUML_SVG, type, WHEN_NO and PlantumlManager::writePlantUMLSource.
Referenced by writeFlowChart.
startDot()
| static |
Declaration at line 267 of file vhdldocgen.h, definition at line 3072 of file vhdldocgen.cpp.
Referenced by writeFlowChart.
writeEdge()
| static |
Declaration at line 271 of file vhdldocgen.h, definition at line 3250 of file vhdldocgen.cpp.
References flowCol, getNodeName and label.
Referenced by buildCommentNodes, writeEdge and writeFlowLinks.
writeEdge()
| static |
Declaration at line 272 of file vhdldocgen.h, definition at line 3232 of file vhdldocgen.cpp.
References FlowChart, getNodeName, id, STARTL, QCString::str, type and writeEdge.
writeFlowChart()
| static |
Declaration at line 291 of file vhdldocgen.h, definition at line 3085 of file vhdldocgen.cpp.
References buildCommentNodes, colTextNodes, Config_getString, createSVG, delFlowList, endDot, err, flowList, TextStream::flush, Portable::openOutputStream, printFlowTree, printUmlTree, startDot, writeFlowLinks and writeShape.
Referenced by VHDLOutlineParser::createFlow.
writeFlowLinks()
| static |
Declaration at line 273 of file vhdldocgen.h, definition at line 3442 of file vhdldocgen.cpp.
References CASE_NO, EEND, END_CASE, END_LOOP, EXIT_NO, exp, findLabel, findNextLoop, findNode, findPrevLoop, FlowChart, flowList, FOR_NO, getNextIfLink, getNextNode, IFF, QCString::isEmpty, label, LOOP_NO, NEXT_NO, qstricmp, RETURN_NO, QCString::simplifyWhiteSpace, stamp, text, TEXT_NO, type, VARIABLE_NO, WHEN_NO, WHILE_NO and writeEdge.
Referenced by writeFlowChart.
writeShape()
| static |
Declaration at line 270 of file vhdldocgen.h, definition at line 3130 of file vhdldocgen.cpp.
References alignCommentNode, alignText, DECLN, EEND, ENDCL, EXITNEXT, exp, QCString::findRev, FlowChart, flowCol, getNodeName, id, IFF, QCString::isEmpty, label, QCString::length, LOOP, QCString::remove, STARTFIN, QCString::str, text, TRUE, type and VARIABLE_NO.
Referenced by writeFlowChart.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.