gtool5 Fortran 90/95 ライブラリ 1.0.0-rc5
English
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dc_args::dcargsdebug Interface Reference

Public Member Functions

subroutine dcargsdebug0 (arg)
 

Detailed Description

Definition at line 299 of file dc_args.f90.

Member Function/Subroutine Documentation

◆ dcargsdebug0()

subroutine dc_args::dcargsdebug::dcargsdebug0 ( type(args), intent(inout)  arg)

デバッグオプションの自動設定

デバッグオプションの自動設定を行います.

-D もしくは –debug が指定された際, 自動的に dc_trace::SetDebug を呼び出すよう arg を設定します.

Parameters
[in,out]argARGS 型変数

Definition at line 667 of file dc_args.f90.

668 use dc_types, only: string
669 use dc_string, only: stoa, stoi
670 use dc_trace, only: setdebug
671 use dc_message, only: messagenotify
672 implicit none
673 type(ARGS), intent(inout) :: arg
674 logical :: OPT_debug
675 character(STRING) :: VAL_debug
676 character(len = *), parameter :: subname = 'DCArgsDebug'
677 continue
678 if (.not. arg % initialized) then
679 call messagenotify('W', subname, 'Call Open before Debug in dc_args.')
680 call dcargsopen(arg)
681 end if
682 call option(arg, stoa('-D', '--debug'), opt_debug, val_debug, &
683 & help="call dc_trace#SetDebug (display a lot of messages for debug). " // &
684 & "VAL is unit number (default is standard output)")
685 if (opt_debug) then
686 if (trim(val_debug) == '') then
687 call setdebug
688 else
689 call setdebug(stoi(val_debug))
690 end if
691 end if
692 return
メッセージの出力
文字型変数の操作
Definition dc_string.f90:83
デバッグ時の追跡用モジュール
Definition dc_trace.f90:150
subroutine, public setdebug(debug)
Definition dc_trace.f90:340
種別型パラメタを提供します。
Definition dc_types.f90:55
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
Definition dc_types.f90:137

References dc_trace::setdebug(), and dc_types::string.

Here is the call graph for this function:

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