Associate a gtool_history_types::GT_HISTORY variable . More...
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | hstnmlinfoassocgthist (gthstnml, name, history, err) |
Associate a gtool_history_types::GT_HISTORY variable
.
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 ) |
Associate a gtool_history_types::GT_HISTORY variable
This subroutine associates given gtool_history_types::GT_HISTORY pointer history to gtool_history_types::GT_HISTORY corresponding to name in gthstnml. Give null history.
Use after state is changed from define mode to output mode by HstNmlInfoEndDefine. If this subroutine is used before HstNmlInfoEndDefine is used, error is occurred.
When data corresponding to name is not found, error is occurred. When name is blank, error is occurred too.
If gthstnml is not initialized by HstNmlInfoCreate yet, error is occurred.
| [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.