全属性のコピー More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | gtvarcopyattrall (to, from, err, global) |
全属性のコピー
このサブルーチンは gtdata_generic から gtdata_generic#Copy_Attr として提供されます。
Definition in file gtvarcopyattrall.f90.
| subroutine gtvarcopyattrall | ( | type(gt_variable), intent(inout) | to, |
| type(gt_variable), intent(inout) | from, | ||
| logical, intent(out), optional | err, | ||
| logical, intent(in), optional | global ) |
1つの変数から別の変数へ全属性をコピー
変数 from の全ての属性を変数 to へコピーします。 デフォルトでは大域属性もコピーしますが、 global に .false. を与える場合、大域属性をコピーしません。
Copy_Attr は 2 つのサブルーチンの総称名であり、 他にも属性を指定してコピーする方法もあります。
| [in,out] | to | コピー先の変数ハンドル |
| [in,out] | from | コピー元の変数ハンドル |
| [out] | err | エラーフラグ (省略可能) |
| [in] | global | 大域属性をコピーするか (省略可能) |
Definition at line 53 of file gtvarcopyattrall.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_trace::endsub(), dc_url::gt_plus, gtvarcopyattr(), dc_present::present_and_false(), dc_present::present_and_true(), and dc_types::string.