Loading...
Searching...
No Matches
Public Member Functions | List of all members
dc_args::open Interface Reference

Public Member Functions

subroutine dcargsopen0 (arg)
 

Detailed Description

Definition at line 270 of file dc_args.f90.

Member Function/Subroutine Documentation

◆ dcargsopen0()

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

Definition at line 336 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.
Provides kind type parameter values.
Definition dc_types.f90:49
integer, parameter, public string
Character length for string
Definition dc_types.f90:118

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