Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | ObjectWord |
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.
INTEGER FUNCTION GetNumObjectsFound(ObjectWord)
! FUNCTION INFORMATION:
! AUTHOR Linda K. Lawrie
! DATE WRITTEN September 1997
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This function returns the number of objects (in input data file)
! found in the current run. If it can't find the object in list
! of objects, a 0 will be returned.
! METHODOLOGY EMPLOYED:
! Look up object in list of objects. If there, return the
! number of objects found in the current input. If not, return 0.
! REFERENCES:
! na
! USE STATEMENTS:
! na
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
CHARACTER(len=*), INTENT(IN) :: ObjectWord
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS
! na
! DERIVED TYPE DEFINITIONS
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER Found
IF (SortedIDD) THEN
Found=FindIteminSortedList(MakeUPPERCase(ObjectWord),ListofObjects,NumObjectDefs)
IF (Found /= 0) Found=iListofObjects(Found)
ELSE
Found=FindIteminList(MakeUPPERCase(ObjectWord),ListofObjects,NumObjectDefs)
ENDIF
IF (Found /= 0) THEN
GetNumObjectsFound=ObjectDef(Found)%NumFound
ELSE
GetNumObjectsFound=0
CALL ShowWarningError('Requested Object not found in Definitions: '//TRIM(ObjectWord))
ENDIF
RETURN
END FUNCTION GetNumObjectsFound