Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ESMF_InfoDescribe), | intent(in) | :: | self | |||
integer, | intent(inout), | optional | :: | rc |
function ESMF_InfoDescribeGetCurrentInfo(self, rc) result(info) use iso_c_binding, only : C_NULL_PTR class(ESMF_InfoDescribe), intent(in) :: self integer, intent(inout), optional :: rc type(ESMF_Base) :: base type(ESMF_Info) :: info integer :: localrc localrc = ESMF_FAILURE if (present(rc)) rc = ESMF_RC_NOT_IMPL info%ptr = C_NULL_PTR base = self%GetCurrentBase(rc=localrc) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return call ESMF_InfoGetFromBase(base, info, rc=localrc) if (ESMF_LogFoundError(localrc, ESMF_ERR_PASSTHRU, ESMF_CONTEXT, rcToReturn=rc)) return info%is_view = .true. if (present(rc)) rc = ESMF_SUCCESS end function ESMF_InfoDescribeGetCurrentInfo