dc_args::dcargsclose Interface Reference

Private Member Functions

subroutine dcargsclose0 (arg)
 

Detailed Description

Definition at line 231 of file dc_args.f90.

Member Function/Subroutine Documentation

◆ dcargsclose0()

subroutine dc_args::dcargsclose::dcargsclose0 ( type(args), intent(inout)  arg)
private

Definition at line 368 of file dc_args.f90.

368  !
369  ! ARGS 型の変数の終了処理を行います.
370  !
371  use dc_hash, only: dchashdelete
372  implicit none
373  type(args), intent(inout) :: arg
374  integer :: i
375  continue
376  if (arg % initialized) then
377  if ( associated( arg % opt_table ) ) then
378  do i = 1, size(arg % opt_table)
379  deallocate(arg % opt_table(i) % options)
380  end do
381 
382  deallocate(arg % opt_table)
383  end if
384 
385  deallocate(arg % cmd_opts_list)
386  deallocate(argstr_table)
387  deallocate(cmd_argv_list)
388  deallocate(cmd_opts_list)
389 
390  call dchashdelete(arg % helpmsg)
391  end if

The documentation for this interface was generated from the following file: