Nodes of different colours represent the following:
Solid arrows point from a parent (sub)module to the submodule which is descended from it. Dashed arrows point from a module being used to the module or program unit using it. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | String | |||
integer, | intent(in) | :: | SetValue | |||
character(len=*), | intent(in), | optional | :: | ColorType |
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module. Where possible, edges connecting nodes are given different colours to make them easier to distinguish in large graphs.
FUNCTION MatchAndSetColorTextString(String,SetValue,ColorType) RESULT(WasSet)
! FUNCTION INFORMATION:
! AUTHOR Linda Lawrie
! DATE WRITTEN August 2007
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS FUNCTION:
! <description>
! METHODOLOGY EMPLOYED:
! <description>
! REFERENCES:
! na
! USE STATEMENTS:
USE InputProcessor, ONLY: FindItem ! case insensitive Find
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! FUNCTION ARGUMENT DEFINITIONS:
character(len=*), intent(in) :: String ! string to be matched
integer, intent(in) :: SetValue ! value to be used for the color
character(len=*), intent(in), optional :: ColorType ! for now, must be DXF
logical :: WasSet
! FUNCTION PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! FUNCTION LOCAL VARIABLE DECLARATIONS:
integer :: found
WasSet=.false.
found=FindItem(String,colorkeys,NumColors)
if (found /= 0) then
if (present(colortype)) then
if (colortype == 'DXF') then
DXFcolorno(colorkeyptr(found))=SetValue
WasSet=.true.
else
endif
else
DXFcolorno(colorkeyptr(found))=SetValue
WasSet=.true.
endif
endif
RETURN
END FUNCTION MatchAndSetColorTextString