Doxygen
|
#include <src/vhdldocgen.h>
Public Types | |
enum | nodeTypes { IF_NO = 1<<1 , ELSIF_NO = 1<<2 , ELSE_NO = 1<<3 , CASE_NO = 1<<4 , WHEN_NO = 1<<5 , EXIT_NO = 1<<6 , END_NO = 1<<7 , TEXT_NO = 1<<8 , START_NO = 1<<9 , ENDIF_NO = 1<<10 , FOR_NO = 1<<11 , WHILE_NO = 1<<12 , END_LOOP = 1<<13 , END_CASE = 1<<14 , VARIABLE_NO = 1<<15 , RETURN_NO = 1<<16 , LOOP_NO = 1<<17 , NEXT_NO = 1<<18 , EMPTY_NO = 1<<19 , COMMENT_NO = 1<<20 , BEGIN_NO = 1<<21 } |
Public Member Functions | |
FlowChart (int typ, const QCString &t, const QCString &ex, const QCString &label=QCString()) | |
Static Public Member Functions | |
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) |
Private Attributes | |
int | id = 0 |
int | stamp = 0 |
int | type = 0 |
int | line = 0 |
QCString | label |
QCString | text |
QCString | exp |
Definition at line 238 of file vhdldocgen.h.
enum FlowChart::nodeTypes |
Enumerator | |
---|---|
IF_NO | |
ELSIF_NO | |
ELSE_NO | |
CASE_NO | |
WHEN_NO | |
EXIT_NO | |
END_NO | |
TEXT_NO | |
START_NO | |
ENDIF_NO | |
FOR_NO | |
WHILE_NO | |
END_LOOP | |
END_CASE | |
VARIABLE_NO | |
RETURN_NO | |
LOOP_NO | |
NEXT_NO | |
EMPTY_NO | |
COMMENT_NO | |
BEGIN_NO |
Definition at line 241 of file vhdldocgen.h.
FlowChart::FlowChart | ( | int | typ, |
const QCString & | t, | ||
const QCString & | ex, | ||
const QCString & | label = QCString() ) |
Definition at line 2865 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().
|
static |
Definition at line 2892 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().
|
static |
Definition at line 2722 of file vhdldocgen.cpp.
References QCString::append(), codify(), QCString::fill(), QCString::length(), split(), and QCString::str().
Referenced by buildCommentNodes(), and writeShape().
|
static |
Definition at line 3280 of file vhdldocgen.cpp.
References QCString::fill(), VhdlDocGen::getFlowMember(), QCString::length(), Definition::name(), QCString::prepend(), and ArgumentList::size().
Referenced by VHDLOutlineParser::createFlow().
|
static |
Definition at line 2758 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().
|
static |
Definition at line 2843 of file vhdldocgen.cpp.
References QCString::data(), and QCString::isEmpty().
Referenced by alignCommentNode().
|
static |
Definition at line 2658 of file vhdldocgen.cpp.
References ELSE_NO, EMPTY, FALSE, FlowChart(), flowList, found, IFF, stamp, text, TEXT_NO, TRUE, and type.
Referenced by writeFlowChart().
|
static |
Definition at line 3017 of file vhdldocgen.cpp.
References VhdlDocGen::getFlowMember(), and Definition::name().
Referenced by createSVG(), HtmlDocVisitor::operator()(), and printUmlTree().
|
static |
Definition at line 3051 of file vhdldocgen.cpp.
References Config_getString, convertNameToFileName(), err, Portable::system(), and Doxygen::verifiedDotPath.
Referenced by writeFlowChart().
|
static |
Definition at line 2715 of file vhdldocgen.cpp.
References QCString::clear(), flowList, ifcounter, and nodeCounter.
Referenced by writeFlowChart().
|
static |
Definition at line 3081 of file vhdldocgen.cpp.
Referenced by writeFlowChart().
|
static |
Definition at line 3353 of file vhdldocgen.cpp.
References err, FlowChart(), flowList, QCString::isEmpty(), label, LOOP, qPrint(), qstricmp(), and type.
Referenced by writeFlowLinks().
|
static |
Definition at line 3313 of file vhdldocgen.cpp.
References END_LOOP, FlowChart(), flowList, QCString::size(), stamp, and type.
Referenced by writeFlowLinks().
|
static |
Definition at line 3367 of file vhdldocgen.cpp.
References FlowChart(), flowList, stamp, and type.
Referenced by getNextIfLink(), getNextNode(), and writeFlowLinks().
|
static |
|
static |
Definition at line 3330 of file vhdldocgen.cpp.
References FlowChart(), flowList, LOOP, stamp, and type.
Referenced by writeFlowLinks().
|
static |
Definition at line 3421 of file vhdldocgen.cpp.
References ELSE_NO, ELSIF_NO, ENDIF_NO, findNode(), FlowChart(), flowList, getNextNode(), and stamp.
Referenced by writeFlowLinks().
|
static |
Definition at line 3380 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().
|
static |
Definition at line 2708 of file vhdldocgen.cpp.
References QCString::prepend(), and QCString::setNum().
Referenced by buildCommentNodes(), writeEdge(), writeEdge(), and writeShape().
|
static |
Definition at line 3022 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().
|
static |
References FlowChart(), and label.
|
static |
Definition at line 2931 of file vhdldocgen.cpp.
References VhdlDocGen::getFlowMember(), and ifcounter.
|
static |
Definition at line 2650 of file vhdldocgen.cpp.
References flowList, and printNode().
Referenced by writeFlowChart().
|
static |
Definition at line 2590 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().
Definition at line 2937 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().
|
static |
Definition at line 2976 of file vhdldocgen.cpp.
References CASE_NO, Config_getString, convertNameToFileName(), END_CASE, FlowChart(), FLOWLEN, flowList, PlantumlManager::generatePlantUMLOutput(), PlantumlManager::instance(), printPlantUmlNode(), PlantumlManager::PUML_SVG, QCString::size(), type, WHEN_NO, and PlantumlManager::writePlantUMLSource().
Referenced by writeFlowChart().
|
static |
Definition at line 3073 of file vhdldocgen.cpp.
Referenced by writeFlowChart().
|
static |
Definition at line 3233 of file vhdldocgen.cpp.
References FlowChart(), getNodeName(), id, STARTL, QCString::str(), type, and writeEdge().
|
static |
Definition at line 3251 of file vhdldocgen.cpp.
References flowCol, getNodeName(), and label.
Referenced by buildCommentNodes(), writeEdge(), and writeFlowLinks().
|
static |
Definition at line 3086 of file vhdldocgen.cpp.
References buildCommentNodes(), colTextNodes(), Config_getString, createSVG(), delFlowList(), endDot(), err, flowList, TextStream::flush(), Portable::openOutputStream(), printFlowTree(), printUmlTree(), qPrint(), startDot(), writeFlowLinks(), and writeShape().
Referenced by VHDLOutlineParser::createFlow().
|
static |
Definition at line 3443 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().
|
static |
Definition at line 3131 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().
|
private |
Definition at line 313 of file vhdldocgen.h.
Referenced by addFlowChart(), findNode(), FlowChart(), printNode(), printPlantUmlNode(), writeFlowLinks(), and writeShape().
|
private |
Definition at line 305 of file vhdldocgen.h.
Referenced by buildCommentNodes(), printNode(), writeEdge(), and writeShape().
|
private |
Definition at line 311 of file vhdldocgen.h.
Referenced by addFlowChart(), buildCommentNodes(), findLabel(), findNode(), FlowChart(), getTimeStamp(), printNode(), printPlantUmlNode(), writeEdge(), writeFlowLinks(), and writeShape().
|
private |
Definition at line 309 of file vhdldocgen.h.
Referenced by buildCommentNodes().
|
private |
Definition at line 306 of file vhdldocgen.h.
Referenced by colTextNodes(), findNextLoop(), findNode(), findNode(), findPrevLoop(), FlowChart(), getNextIfLink(), getNextNode(), printNode(), and writeFlowLinks().
|
private |
Definition at line 312 of file vhdldocgen.h.
Referenced by addFlowChart(), colTextNodes(), findNode(), FlowChart(), printNode(), printPlantUmlNode(), writeFlowLinks(), and writeShape().
|
private |
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().