28 & varname, attrname, value, history, err)
58 character(*),
intent(in):: varname
67 character(*),
intent(in):: attrname
83 character(*),
intent(in):: value
86 type(
gt_history),
intent(inout),
target,
optional:: history
94 logical,
intent(out),
optional:: err
111 logical:: err_not_found
113 character(STRING):: cause_c
114 character(len = *),
parameter:: subname =
"HistoryAddAttrChar0" 117 &
'varname=<%c> attrname=<%c>, value=<%c>', &
118 & c1=trim(varname), c2=trim(attrname), c3=trim(
value))
122 if (
present(history))
then 127 if (varname ==
"")
then 129 do, v_ord = 1,
size(hst % vars)
134 if ( .not. err_not_found )
then 138 cause_c =
'varname="' // trim(varname) //
'" is not found' 143 call storeerror(stat, subname, err, cause_c=cause_c)
147 & varname, attrname, value, history, err)
161 character(*),
intent(in):: varname
162 character(*),
intent(in):: attrname
163 logical,
intent(in):: value
164 type(
gt_history),
intent(inout),
target,
optional:: history
165 logical,
intent(out),
optional:: err
169 logical:: err_not_found
171 character(STRING):: cause_c
172 character(len = *),
parameter:: subname =
"HistoryAddAttrLogical0" 175 &
'varname=<%c> attrname=<%c>, value=<%c>', &
176 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
180 if (
present(history))
then 185 if (varname ==
"")
then 187 do, v_ord = 1,
size(hst % vars)
192 if ( .not. err_not_found )
then 196 cause_c =
'varname="' // trim(varname) //
'" is not found' 201 call storeerror(stat, subname, err, cause_c=cause_c)
205 & varname, attrname, value, history, err)
219 character(*),
intent(in):: varname
220 character(*),
intent(in):: attrname
221 integer,
intent(in):: value
222 type(
gt_history),
intent(inout),
target,
optional:: history
223 logical,
intent(out),
optional:: err
227 logical:: err_not_found
229 character(STRING):: cause_c
230 character(len = *),
parameter:: subname =
"HistoryAddAttrInt0" 233 &
'varname=<%c> attrname=<%c>, value=<%c>', &
234 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
238 if (
present(history))
then 243 if (varname ==
"")
then 245 do, v_ord = 1,
size(hst % vars)
250 if ( .not. err_not_found )
then 251 call put_attr(var, attrname, (/
value/))
254 cause_c =
'varname="' // trim(varname) //
'" is not found' 259 call storeerror(stat, subname, err, cause_c=cause_c)
263 & varname, attrname, value, history, err)
277 character(*),
intent(in):: varname
278 character(*),
intent(in):: attrname
279 integer,
intent(in)::
value(:)
280 type(
gt_history),
intent(inout),
target,
optional:: history
281 logical,
intent(out),
optional:: err
285 logical:: err_not_found
287 character(STRING):: cause_c
288 character(len = *),
parameter:: subname =
"HistoryAddAttrInt1" 291 &
'varname=<%c> attrname=<%c>, value=<%c>', &
292 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
296 if (
present(history))
then 301 if (varname ==
"")
then 303 do, v_ord = 1,
size(hst % vars)
308 if ( .not. err_not_found )
then 309 call put_attr(var, attrname, (/
value/))
312 cause_c =
'varname="' // trim(varname) //
'" is not found' 317 call storeerror(stat, subname, err, cause_c=cause_c)
321 & varname, attrname, value, history, err)
335 character(*),
intent(in):: varname
336 character(*),
intent(in):: attrname
337 real,
intent(in):: value
338 type(
gt_history),
intent(inout),
target,
optional:: history
339 logical,
intent(out),
optional:: err
343 logical:: err_not_found
345 character(STRING):: cause_c
346 character(len = *),
parameter:: subname =
"HistoryAddAttrReal0" 349 &
'varname=<%c> attrname=<%c>, value=<%c>', &
350 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
354 if (
present(history))
then 359 if (varname ==
"")
then 361 do, v_ord = 1,
size(hst % vars)
366 if ( .not. err_not_found )
then 367 call put_attr(var, attrname, (/
value/))
370 cause_c =
'varname="' // trim(varname) //
'" is not found' 375 call storeerror(stat, subname, err, cause_c=cause_c)
379 & varname, attrname, value, history, err)
393 character(*),
intent(in):: varname
394 character(*),
intent(in):: attrname
395 real,
intent(in)::
value(:)
396 type(
gt_history),
intent(inout),
target,
optional:: history
397 logical,
intent(out),
optional:: err
401 logical:: err_not_found
403 character(STRING):: cause_c
404 character(len = *),
parameter:: subname =
"HistoryAddAttrReal1" 407 &
'varname=<%c> attrname=<%c>, value=<%c>', &
408 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
412 if (
present(history))
then 417 if (varname ==
"")
then 419 do, v_ord = 1,
size(hst % vars)
424 if ( .not. err_not_found )
then 425 call put_attr(var, attrname, (/
value/))
428 cause_c =
'varname="' // trim(varname) //
'" is not found' 433 call storeerror(stat, subname, err, cause_c=cause_c)
437 & varname, attrname, value, history, err)
451 character(*),
intent(in):: varname
452 character(*),
intent(in):: attrname
453 real(DP),
intent(in):: value
454 type(
gt_history),
intent(inout),
target,
optional:: history
455 logical,
intent(out),
optional:: err
459 logical:: err_not_found
461 character(STRING):: cause_c
462 character(len = *),
parameter:: subname =
"HistoryAddAttrDouble0" 465 &
'varname=<%c> attrname=<%c>, value=<%c>', &
466 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
470 if (
present(history))
then 475 if (varname ==
"")
then 477 do, v_ord = 1,
size(hst % vars)
482 if ( .not. err_not_found )
then 483 call put_attr(var, attrname, (/
value/))
486 cause_c =
'varname="' // trim(varname) //
'" is not found' 491 call storeerror(stat, subname, err, cause_c=cause_c)
495 & varname, attrname, value, history, err)
509 character(*),
intent(in):: varname
510 character(*),
intent(in):: attrname
511 real(DP),
intent(in)::
value(:)
512 type(
gt_history),
intent(inout),
target,
optional:: history
513 logical,
intent(out),
optional:: err
517 logical:: err_not_found
519 character(STRING):: cause_c
520 character(len = *),
parameter:: subname =
"HistoryAddAttrDouble1" 523 &
'varname=<%c> attrname=<%c>, value=<%c>', &
524 & c1=trim(varname), c2=trim(attrname), c3=trim(
tochar(
value)))
528 if (
present(history))
then 533 if (varname ==
"")
then 535 do, v_ord = 1,
size(hst % vars)
540 if ( .not. err_not_found )
then 541 call put_attr(var, attrname, (/
value/))
544 cause_c =
'varname="' // trim(varname) //
'" is not found' 549 call storeerror(stat, subname, err, cause_c=cause_c)
type(gt_history), target, save, public default
subroutine historyaddattrdouble1(varname, attrname, value, history, err)
subroutine historyaddattrchar0(varname, attrname, value, history, err)
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
character, parameter, public gt_plus
integer, parameter, public hst_empinoaxisdata
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_noerr
subroutine historyaddattrreal0(varname, attrname, value, history, err)
subroutine historyaddattrdouble0(varname, attrname, value, history, err)
character(string) function, public joinchar(carray, expr)
subroutine historyaddattrreal1(varname, attrname, value, history, err)
integer, parameter, public dp
倍精度実数型変数
subroutine historyaddattrint0(varname, attrname, value, history, err)
subroutine, public dbgmessage(fmt, i, r, d, L, n, c1, c2, c3, ca)
subroutine, public beginsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca, version)
subroutine historyaddattrlogical0(varname, attrname, value, history, err)
subroutine historyaddattrint1(varname, attrname, value, history, err)
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ