ESMF_AttPack Derived Type

type, public :: ESMF_AttPack


Components

Type Visibility Attributes Name Initial
character(len=ESMF_MAXSTR), public :: root_key
type(C_PTR), public :: info = C_NULL_PTR

Type-Bound Procedures

procedure, private, pass :: formatKey => attpack_formatKey

  • private function attpack_formatKey(self, name, rc) result(key)

    Arguments

    Type IntentOptional Attributes Name
    class(ESMF_AttPack), intent(in) :: self
    character(len=*), intent(in), optional :: name
    integer, intent(out), optional :: rc

    Return Value character(len=:), allocatable

procedure, private, pass :: getPayload => attpack_getPayload

  • private function attpack_getPayload(self, rc) result(payload)

    Arguments

    Type IntentOptional Attributes Name
    class(ESMF_AttPack), intent(in) :: self
    integer, intent(out), optional :: rc

    Return Value type(ESMF_Info)

procedure, private, pass :: initialize => attpack_initialize

  • private subroutine attpack_initialize(self, info, convention, purpose, rootKey, rc)

    Arguments

    Type IntentOptional Attributes Name
    class(ESMF_AttPack), intent(out) :: self
    type(ESMF_Info), intent(in) :: info
    character(len=*), intent(in), optional :: convention
    character(len=*), intent(in), optional :: purpose
    character(len=*), intent(in), optional :: rootKey
    integer, intent(out), optional :: rc

Source Code

type ESMF_AttPack
  character(ESMF_MAXSTR) :: root_key
  type(C_PTR) :: info = C_NULL_PTR
contains
  procedure, private, pass :: initialize => attpack_initialize
  procedure, private, pass :: formatKey => attpack_formatKey
  procedure, private, pass :: getPayload => attpack_getPayload
end type ESMF_AttPack