File GIAdraw Documentation

Automatically generated with Code Structure Viewer (CS), Project Version: 3o4d 17-November-2020

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: GIAdraw.cpp/.hpp

File Description: GIA draw

File Function List


File Diagram (functions hierarchy)


Class GIAdrawVariables

Class Data
nametypedescription
svgTinySpecboolsvg tiny spec
printType[3]boolprint type [3]
maxNumberSentencesintmax number sentences
sentenceToPrintintsentence to print
entityReferenceGIAentityNode*entity reference

Function GIAdrawClass::printGIAnetworkNodes()

Function Summary
namereturn typedescription
printGIAnetworkNodesboolprint GIA network nodes

Function Arguments
nametypedescription
translatorVariablesGIAtranslatorVariablesClass* translator variables
width int width
height int height
outputFileNameLDR string output file name LDR
outputFileNameSVG string output file name SVG
outputFileNamePPM string output file name PPM
display const bool display
useOutputLDRfile const bool use output LDR file
useOutputSVGfile const bool use output SVG file
useOutputPPMfile const bool use output PPM file

Function Reference List


Function Trace
locationcurrent function being traced
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::determineBasicPrintPositionsOfAllNodes()

Function Summary
namereturn typedescription
determineBasicPrintPositionsOfAllNodesbooldetermine basic print positions of all nodes

Function Arguments
nametypedescription
entityNodesActiveListCompletevector<GIAentityNode*>* entity nodes active list complete
drawVariables GIAdrawVariables* draw variables
firstReferenceInPrintList LDreference* first reference in print list
firstTagInSVGFile XMLparserTag* first tag in SVGF ile

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::initiateMaxXAtParticularY()

Function Summary
namereturn typedescription
initiateMaxXAtParticularYvoidinitiate max XA t particular Y

Function Reference List
N/A


Function Trace
locationcurrent function being traced
GIAdraw.hppinitiateMaxXAtParticularY
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::initialiseEntityConnectionForPrinting()

Function Summary
namereturn typedescription
initialiseEntityConnectionForPrintingboolinitialise entity connection for printing

Function Arguments
nametypedescription
pos1vec* pos 1
entityConnection GIAentityConnection* entity connection
drawVariables GIAdrawVariables* draw variables
connectionName string connection name
entityConnectionColour int entity connection colour
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppinitialiseEntityConnectionForPrinting
GIAdraw.hppinitialiseEntityNodeForPrinting
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::initialiseEntityNodeForPrinting()

Function Summary
namereturn typedescription
initialiseEntityNodeForPrintingboolinitialise entity node for printing

Function Arguments
nametypedescription
entityNodeGIAentityNode* entity node
y int y
x int x
drawVariables GIAdrawVariables* draw variables
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
sentenceIndex const int sentence index
thisIsDefinitionAndPreviousNodeWasInstance bool this is definition and previous node was instance

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppinitialiseEntityNodeForPrinting
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::initialiseTimeConditionNodeForPrinting()

Function Summary
namereturn typedescription
initialiseTimeConditionNodeForPrintingboolinitialise time condition node for printing

Function Arguments
nametypedescription
timeConditionNodeGIAtimeConditionNode* time condition node
y const int y
x const int x
drawVariables GIAdrawVariables* draw variables
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppinitialiseTimeConditionNodeForPrinting
GIAdraw.hppinitialiseEntityNodeForPrinting
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::createReferenceConnectionWithText()

Function Summary
namereturn typedescription
createReferenceConnectionWithTextboolcreate reference connection with text

Function Arguments
nametypedescription
pos1vec* pos 1
pos2 vec* pos 2
colour int colour
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
connectionTypeName string connection type name
drawVariables GIAdrawVariables* draw variables

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppcreateReferenceConnectionWithText
GIAdraw.hppinitialiseEntityConnectionForPrinting
GIAdraw.hppinitialiseEntityNodeForPrinting
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::createReferenceConnection()

Function Summary
namereturn typedescription
createReferenceConnectionboolcreate reference connection

Function Arguments
nametypedescription
pos1vec* pos 1
pos2 vec* pos 2
colour int colour
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
drawVariables const GIAdrawVariables* draw variables

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppcreateReferenceConnection
GIAdraw.hppcreateReferenceConnectionWithText
GIAdraw.hppinitialiseEntityConnectionForPrinting
GIAdraw.hppinitialiseEntityNodeForPrinting
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)


Function GIAdrawClass::createBox()

Function Summary
namereturn typedescription
createBoxboolcreate box

Function Arguments
nametypedescription
vectconst vec* vect
width double width
height double height
colour int colour
text string* text
currentReferenceInPrintList LDreference** current reference in print list
currentTag XMLparserTag** current tag
thickness int thickness
drawVariables GIAdrawVariables* draw variables

Function Reference List


Function Trace
locationcurrent function being traced
GIAdraw.hppcreateBox
GIAdraw.hppinitialiseTimeConditionNodeForPrinting
GIAdraw.hppinitialiseEntityNodeForPrinting
GIAdraw.hppdetermineBasicPrintPositionsOfAllNodes
GIAmain.hppprintGIAnetworkNodes

Trace Diagram (magenta)