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 | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | reportVariableReportID | |||
integer, | intent(in) | :: | storeTypeIndex | |||
character(len=*), | intent(in) | :: | indexGroup | |||
character(len=*), | intent(in) | :: | keyedValueString | |||
character(len=*), | intent(in) | :: | variableName | |||
integer, | intent(in) | :: | indexType | |||
character(len=*), | intent(in) | :: | units | |||
integer, | intent(in) | :: | reportingFreq | |||
character(len=*), | intent(in), | optional | :: | scheduleName |
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.
SUBROUTINE CreateSQLiteReportVariableDictionaryRecord (reportVariableReportID, storeTypeIndex, &
indexGroup, keyedValueString, variableName, indexType, units, reportingFreq, scheduleName)
! SUBROUTINE INFORMATION:
! AUTHOR Greg Stark
! DATE WRITTEN July 2008
! MODIFIED na
! RE-ENGINEERED na
! PURPOSE OF THIS SUBROUTINE:
! This subroutine wites an .eso data record to the SQL database
! METHODOLOGY EMPLOYED:
! Standard SQL92 queries and commands via the Fortran SQLite3 API
! REFERENCES:
! na
! USE STATEMENTS:
USE ISO_C_FUNCTION_BINDING
IMPLICIT NONE ! Enforce explicit typing of all variables in this routine
! SUBROUTINE ARGUMENT DEFINITIONS:
INTEGER, INTENT(IN) :: reportVariableReportID
INTEGER, INTENT(IN) :: storeTypeIndex
CHARACTER(len=*), INTENT(IN) :: indexGroup
CHARACTER(len=*), INTENT(IN) :: keyedValueString
CHARACTER(len=*), INTENT(IN) :: variableName
INTEGER, INTENT(IN) :: indexType
CHARACTER(len=*), INTENT(IN) :: units
INTEGER, INTENT(IN) :: reportingFreq
CHARACTER(len=*), INTENT(IN), OPTIONAL :: scheduleName
! SUBROUTINE PARAMETER DEFINITIONS:
! na
! INTERFACE BLOCK SPECIFICATIONS:
! na
! DERIVED TYPE DEFINITIONS:
! na
! SUBROUTINE LOCAL VARIABLE DECLARATIONS:
INTEGER :: result
result = SQLiteBindInteger (ReportVariableDictionaryInsertStmt, 1, reportVariableReportID)
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 2, StorageType(storeTypeIndex))
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 3, indexGroup)
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 4, TimestepTypeName(indexType))
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 5, keyedValueString)
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 6, variableName)
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 7, ReportingFreqName(reportingFreq))
IF (PRESENT(scheduleName)) THEN
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 8, scheduleName)
ELSE
result = SQLiteBindNULL (ReportVariableDictionaryInsertStmt, 8)
END IF
result = SQLiteBindTextMacro (ReportVariableDictionaryInsertStmt, 9, units)
result = SQLiteStepCommand (ReportVariableDictionaryInsertStmt)
result = SQLiteResetCommand (ReportVariableDictionaryInsertStmt)
END SUBROUTINE CreateSQLiteReportVariableDictionaryRecord