Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_LocStream) | :: | locstream | ||||
character(len=*), | intent(in) | :: | keyName | |||
type(ESMF_TypeKind_Flag), | optional | :: | typekind | |||
integer, | intent(out) | :: | rc |
subroutine f_esmf_locstreamaddkeyalloc(locstream, keyName, typekind, rc) use ESMF_UtilTypesMod use ESMF_BaseMod use ESMF_LogErrMod use ESMF_LocStreamMod implicit none type(ESMF_LocStream) :: locstream character(len=*),intent(in) :: keyName type(ESMF_TypeKind_Flag),optional :: typekind integer, intent(out) :: rc ! initialize return code; assume routine not implemented rc = ESMF_RC_NOT_IMPL call ESMF_LocStreamAddKey(locstream, keyName=keyName, keyTypeKind=typekind, rc=rc) if (ESMF_LogFoundError(rc, ESMF_ERR_PASSTHRU, & ESMF_CONTEXT, rcToReturn=rc)) return rc = ESMF_SUCCESS end subroutine f_esmf_locstreamaddkeyalloc