Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Base), | intent(in) | :: | base | |||
type(ESMF_Info), | intent(out) | :: | info | |||
type(ESMF_KeywordEnforcer), | optional | :: | keywordEnforcer | |||
integer, | intent(out), | optional | :: | rc |
subroutine ESMF_InfoGetFromBase(base, info, keywordEnforcer, rc) ! !ARGUMENTS: type(ESMF_Base), intent(in) :: base type(ESMF_Info), intent(out) :: info type(ESMF_KeywordEnforcer), optional:: keywordEnforcer ! must use keywords below integer, intent(out), optional :: rc ! ! !DESCRIPTION: ! Get an \texttt{ESMF\_Info} handle from an \texttt{ESMF\_Base} object. ! ! The arguments are: ! \begin{description} ! \item [base] ! Target \texttt{ESMF\_Base} object. ! \item [info] ! Outgoing \texttt{ESMF\_Info} object. ! \item [{[rc]}] ! Return code; equals {\tt ESMF\_SUCCESS} if there are no errors. ! \end{description} !EOPI if (present(rc)) rc = ESMF_FAILURE info%ptr = c_info_base_get(base%this%ptr) if (present(rc)) rc = ESMF_SUCCESS end subroutine ESMF_InfoGetFromBase