GT_HISTORY_VARINFO 型変数コピー . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | historyvarinfocopy1 (varinfo_dest, varinfo_src, err, name, dims, longname, units, xtype) |
| subroutine | historyvarinfocopy2 (varinfo_dest, varinfo_src, err, name, dims, longname, units, xtype) |
GT_HISTORY_VARINFO 型変数コピー .
Definition in file historyvarinfocopy.f90.
| subroutine historyvarinfocopy1 | ( | type(gt_history_varinfo), intent(out) | varinfo_dest, |
| type(gt_history_varinfo), intent(in) | varinfo_src, | ||
| logical, intent(out), optional | err, | ||
| character(*), intent(in), optional | name, | ||
| character(*), dimension(:), intent(in), optional, target | dims, | ||
| character(*), intent(in), optional | longname, | ||
| character(*), intent(in), optional | units, | ||
| character(*), intent(in), optional | xtype ) |
GT_HISTORY_VARINFO 型変数コピー
GT_HISTORY_VARINFO 型の変数 varinfo_src を varinfo_dest にコピーします。 varinfo_src は HistoryVarinfoCreate によって初期設定されている必要があります。 さらに属性を付加する場合には HistoryVarinfoAddAttr を用いてください。 err を与えておくと、コピーの際何らかの不具合が生じても終了せずに err が真になって返ります。 err 以降の引数は、コピーの際に上書きする値です。
| [out] | varinfo_dest | コピー先の GT_HISTORY_VARINFO 型変数 |
| [in] | varinfo_src | コピー元の GT_HISTORY_VARINFO 型変数 |
| [out] | err | 例外処理用フラグ (optional) |
| [in] | name | 次元変数名 (optional) |
| [in] | dims | 依存する次元 (optional) |
| [in] | longname | 次元変数の記述的名称 (optional) |
| [in] | units | 次元変数の単位 (optional) |
| [in] | xtype | 次元変数の型 (optional) |
Definition at line 52 of file historyvarinfocopy.f90.
References dc_trace::beginsub(), dc_trace::dbgmessage(), dc_error::dc_ealreadyinit, dc_error::dc_enotinit, dc_error::dc_noerr, dc_trace::endsub(), dc_string::joinchar(), dc_error::storeerror(), dc_types::string, and dc_types::token.
| subroutine historyvarinfocopy2 | ( | type(gt_history_varinfo), intent(out) | varinfo_dest, |
| type(gt_history_varinfo), intent(in) | varinfo_src, | ||
| logical, intent(out), optional | err, | ||
| character(*), intent(in), optional | name, | ||
| character(*), dimension(:), intent(in), optional, target | dims, | ||
| character(*), intent(in), optional | longname, | ||
| character(*), intent(in), optional | units, | ||
| character(*), intent(in), optional | xtype ) |
Definition at line 129 of file historyvarinfocopy.f90.
References dc_trace::beginsub(), and dc_trace::endsub().