File CSgenerateConstFunctionArgumentCode Documentation

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

Copyright © 2020, BAI Research. All Rights Reserved.

File Name: CSgenerateConstFunctionArgumentCode.cpp/.hpp

File Description: CS generate const function argument code

File Function List


File Diagram (functions hierarchy)


Function CSgenerateConstFunctionArgumentCodeClass::generateConstFunctionArguments()

Function Summary
namereturn typedescription
generateConstFunctionArgumentsboolgenerate const function arguments

Function Arguments
nametypedescription
firstObjectInTopLevelBelowListContainerCSfileContainer* first object in top level below list container

Function Reference List


Function Trace
locationcurrent function being traced
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::generateConstFunctionArgumentsRecurse()

Function Summary
namereturn typedescription
generateConstFunctionArgumentsRecurseboolgenerate const function arguments recurse

Function Arguments
nametypedescription
firstObjectInAboveLevelBelowListContainerCSfileContainer* first object in above level below list container
firstObjectInTopLevelBelowListContainer const CSfileContainer* first object in top level below list container

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::generateConstFunctionArgumentsFile()

Function Summary
namereturn typedescription
generateConstFunctionArgumentsFileboolgenerate const function arguments file

Function Arguments
nametypedescription
currentFileObjectCSfile* current file object

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::generateConstFunctionArgumentsFunction()

Function Summary
namereturn typedescription
generateConstFunctionArgumentsFunctionboolgenerate const function arguments function

Function Arguments
nametypedescription
currentFunctionObjectCSfunction* current function object

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::generateConstFunctionArgumentAndSearchForSecondaryReferences()

Function Summary
namereturn typedescription
generateConstFunctionArgumentAndSearchForSecondaryReferencesboolgenerate const function argument and search for secondary references

Function Arguments
nametypedescription
currentFunctionObjectCSfunction* current function object
currentFunctionArgumentInFunction CSfunctionArgument* current function argument in function
functionDeclarationArgument string function declaration argument

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::generateConstFunctionArgument()

Function Summary
namereturn typedescription
generateConstFunctionArgumentboolgenerate const function argument

Function Arguments
nametypedescription
currentFunctionObjectCSfunction* current function object
currentFunctionArgumentInFunction CSfunctionArgument* current function argument in function
functionDeclarationArgument string function declaration argument

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::checkIfVariableIsBeingModifiedInFunction()

Function Summary
namereturn typedescription
checkIfVariableIsBeingModifiedInFunctionvoidcheck if variable is being modified in function

Function Arguments
nametypedescription
currentFunctionObjectCSfunction* current function object
currentFunctionArgumentInFunction CSfunctionArgument* current function argument in function
functionDeclarationArgument string function declaration argument
isNotConst bool* is not const
isConstEffective bool* is const effective

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::verifyThatVariableIsNotDeclarationOrNextIteratorAssignmentOrArrayIndex()

Function Summary
namereturn typedescription
verifyThatVariableIsNotDeclarationOrNextIteratorAssignmentOrArrayIndexboolverify that variable is not declaration or next iterator assignment or array index

Function Arguments
nametypedescription
currentFunctionObjectconst CSfunction* current function object
functionText const string* function text
textBeforeFunctionArgument const string text before function argument
functionDeclarationArgument const string function declaration argument
indexOfFunctionArgument const int index of function argument
indexOfSquareBracketOpen const int index of square bracket open
indexOfSquareBracketClose const int index of square bracket close
indexOfEndOfCommand const int index of end of command
indexOfStartOfLine const int index of start of line
indexOfEqualsSet const int index of equals set

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppverifyThatVariableIsNotDeclarationOrNextIteratorAssignmentOrArrayIndex
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::functionArgumentReferenceWholeWordCheck()

Function Summary
namereturn typedescription
functionArgumentReferenceWholeWordCheckboolfunction argument reference whole word check

Function Arguments
nametypedescription
functionTextstring* function text
functionDeclarationArgument string function declaration argument
indexOfFunctionArgument int index of function argument

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppfunctionArgumentReferenceWholeWordCheck
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::charInString()

Function Summary
namereturn typedescription
charInStringboolchar in string

Function Arguments
nametypedescription
textconst string text
charArray const char* char array
arraySize const int array size

Function Reference List
N/A


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppcharInString
CSgenerateConstFunctionArgumentCode.hppverifyThatVariableIsNotDeclarationOrNextIteratorAssignmentOrArrayIndex
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::detectDoublePointer()

Function Summary
namereturn typedescription
detectDoublePointerbooldetect double pointer

Function Arguments
nametypedescription
functionArgumentstring function argument

Function Reference List
N/A


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppdetectDoublePointer
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::detectPointerArray()

Function Summary
namereturn typedescription
detectPointerArraybooldetect pointer array

Function Arguments
nametypedescription
functionArgumentstring function argument

Function Reference List
N/A


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppdetectPointerArray
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::extractFullVariableName()

Function Summary
namereturn typedescription
extractFullVariableNamestringextract full variable name

Function Arguments
nametypedescription
functionTextstring* function text
indexOfStartOfVariableName const int index of start of variable name

Function Reference List
N/A


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppextractFullVariableName
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::extractFullVariableNameReverse()

Function Summary
namereturn typedescription
extractFullVariableNameReversestringextract full variable name reverse

Function Arguments
nametypedescription
functionTextconst string* function text
indexOfEndOfVariableName const int index of end of variable name
indexOfStartOfVariableName int* index of start of variable name

Function Reference List
N/A


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppextractFullVariableNameReverse
CSgenerateConstFunctionArgumentCode.hppcheckIfVariableIsBeingModifiedInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgument
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentAndSearchForSecondaryReferences
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::extractFullVariableTypeReverse()

Function Summary
namereturn typedescription
extractFullVariableTypeReversestringextract full variable type reverse

Function Arguments
nametypedescription
functionTextconst string* function text
indexOfEndOfVariableType const int index of end of variable type
indexOfStartOfVariableType int* index of start of variable type

Function Reference List
N/A


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppextractFullVariableTypeReverse
CSgenerateConstFunctionArgumentCode.hppaddConstToAllOccurancesOfFunctionObjectFunctionArgumentSecondaryAssignmentDeclarationInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)


Function CSgenerateConstFunctionArgumentCodeClass::addConstToAllOccurancesOfFunctionObjectFunctionArgumentSecondaryAssignmentDeclarationInFunction()

Function Summary
namereturn typedescription
addConstToAllOccurancesOfFunctionObjectFunctionArgumentSecondaryAssignmentDeclarationInFunctionstringadd const to all occurances of function object function argument secondary assignment declaration in function

Function Arguments
nametypedescription
functionTextOrigconst string* function text orig
functionArgumentSecondaryAssignmentName const string function argument secondary assignment name
foundAtLeastOneInstance bool* found at least one instance
constString const string const string

Function Reference List


Function Trace
locationcurrent function being traced
CSgenerateConstFunctionArgumentCode.hppaddConstToAllOccurancesOfFunctionObjectFunctionArgumentSecondaryAssignmentDeclarationInFunction
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsFile
CSgenerateConstFunctionArgumentCode.hppgenerateConstFunctionArgumentsRecurse
CSexecflow.hppgenerateConstFunctionArguments
CSmain.hppgenerateCodeStructure

Trace Diagram (magenta)