gtool_history_types::GT_HISTORY 型変数の結合 More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | hstnmlinfoassocgthist (gthstnml, name, history, err) |
gtool_history_types::GT_HISTORY 型変数の結合
Definition in file hstnmlinfoassocgthist.f90.
| subroutine hstnmlinfoassocgthist | ( | type(gthst_nmlinfo), intent(in) | gthstnml, |
| character(*), intent(in) | name, | ||
| type(gt_history), pointer | history, | ||
| logical, intent(out), optional | err ) |
gtool_history_types::GT_HISTORY 型変数の結合
与えられた gtool_history_types::GT_HISTORY 型のポインタ history に対し, gthstnml 内の name に関する gtool_history_types::GT_HISTORY 型変数を 結合します. 空状態の history を与えてください.
HstNmlInfoEndDefine で定義モードから出力モードに 移行した後に呼び出してください. HstNmlInfoEndDefine を呼ぶ前にこのサブルーチンを使用すると, プログラムはエラーを発生させます.
name に関する情報が見当たらない場合, プログラムはエラーを発生させます. name が空文字の場合にも, プログラムはエラーを発生させます.
なお, 与えられた gthstnml が HstNmlInfoCreate によって初期設定 されていない場合にも, プログラムはエラーを発生させます.
| [in] | gthstnml | gtool_history_nmlinfo_types::GTHST_NMLINFO 型変数 |
| [in] | name | 変数名. 先頭の空白は無視されます. Variable identifier. Blanks at the head of the name are ignored. |
| [out] | history | gtool_history_types::GT_HISTORY 型ポインタ. Pointer of gtool_history_types::GT_HISTORY. |
| [out] | err | 例外処理用フラグ. Exception handling flag. |
Definition at line 65 of file hstnmlinfoassocgthist.f90.
References dc_trace::beginsub(), dc_error::dc_enoentry, dc_error::dc_enotinit, dc_error::dc_noerr, dc_trace::endsub(), dc_error::hst_ebadname, dc_error::hst_eindefine, dc_error::storeerror(), and dc_types::string.