dc_args::dcargsopen Interface Reference

Private Member Functions

subroutine dcargsopen0 (arg)
 

Detailed Description

Definition at line 227 of file dc_args.f90.

Member Function/Subroutine Documentation

◆ dcargsopen0()

subroutine dc_args::dcargsopen::dcargsopen0 ( type(args), intent(out)  arg)
private

Definition at line 337 of file dc_args.f90.

337  !
338  ! ARGS 型の変数を初期設定します.
339  !
340  ! ARGS 型の変数を利用する際にはまずこのサブルーチンによって
341  ! 初期設定を行ってください.
342  !
343  ! このサブルーチンは, より下層のサブルーチン内で IARGC や GETARG
344  ! を用いて得られたコマンドライン引数の情報を引数 *arg*
345  ! へと格納します.
346  !
347  use dc_message, only: messagenotify
348  use dc_types, only: string
349  implicit none
350  type(args), intent(out) :: arg
351  integer:: cmd_opts_max
352  character(len = *), parameter :: subname = 'DCArgsOpen'
353  continue
354  if (arg % initialized) then
355  call messagenotify('W', subname, 'This argument (type ARGS) is already opend.')
356  return
357  end if
358  call buildargtable
359  call sortargtable
360  cmd_opts_max = size(cmd_opts_list)
361  allocate(arg % cmd_opts_list(cmd_opts_max))
362  arg % cmd_opts_list = cmd_opts_list
363  nullify( arg % opt_table )
364  arg % initialized = .true.
種別型パラメタを提供します。
Definition: dc_types.f90:49
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition: dc_types.f90:118

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