Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_LocStreamType), | intent(inout) | :: | s | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_LocStreamTypeValidate(s,rc) ! ! !ARGUMENTS: type(ESMF_LocStreamType), intent(inout) :: s integer, intent(out), optional :: rc ! ! !DESCRIPTION: ! Validates that the {\tt LocStreamType} is internally consistent. ! ! The arguments are: ! \begin{description} ! \item [s] ! {\tt ESMF\_LocStreamType} to validate. ! \item [{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if the {\tt s} ! is valid. ! \end{description} ! !EOPI ESMF_INIT_CHECK_SET_SHALLOW(ESMF_LocStreamTypeGetInit,ESMF_LocStreamTypeInit,s) !DUMMY TEST TO QUIET DOWN COMPILER WARNINGS !TODO: Remove the following dummy test when dummy argument actually used if (s%keycount==s%keycount) continue ! return success if(present(rc)) then rc = ESMF_SUCCESS endif end subroutine ESMF_LocStreamTypeValidate