targ_type Derived Type

type, public :: targ_type


Contents

Source Code


Type-Bound Procedures

procedure, public :: add_option

  • private subroutine add_option(self, name, require)

    Arguments

    TypeIntentOptionalAttributesName
    class(targ_type), intent(inout) :: self
    character(len=*), intent(in) :: name
    integer, intent(in), optional :: require

Source Code

   type :: targ_type
      integer :: nopt
      type(opt_type), allocatable :: opt(:)
   contains
      procedure :: add_option
   end type targ_type