Public Member Functions | |
| subroutine | hstnmlinfolistsearch (gthstnml_list, name, previous, next, err) |
Definition at line 59 of file gtool_history_nmlinfo_internal.f90.
| subroutine gtool_history_nmlinfo_internal::listsearch::hstnmlinfolistsearch | ( | type(gthst_nmlinfo_entry), pointer | gthstnml_list, |
| character(*), intent(in) | name, | ||
| type(gthst_nmlinfo_entry), optional, pointer | previous, | ||
| type(gthst_nmlinfo_entry), optional, pointer | next, | ||
| logical, intent(out), optional | err ) |
名前でリストエントリを検索
リスト構造である gthstnml_list (GTHST_NMLINFO_ENTRY 型) を受け取り, 引数 name と同じ値を持つエントリに再結合して返します. 見つからない場合は空状態を返します. gthstnml_list が始めから空の場合には空状態を返します.
previous が与えられる場合, 当該エントリの一つ前の エントリに結合します. 前のエントリが無い場合には 空状態を返します.
next が与えられる場合, 当該エントリの一つ後ろの エントリに結合します. 後ろのエントリが無い場合には 空状態を返します.
| [in,out] | gthstnml_list | リストエントリポインタ |
| [in] | name | 変数名 (先頭の空白は無視される) |
| [out] | previous | 前のエントリポインタ (省略可能) |
| [out] | next | 次のエントリポインタ (省略可能) |
| [out] | err | 例外処理用フラグ (省略可能) |
Definition at line 293 of file gtool_history_nmlinfo_internal.f90.
References dc_trace::beginsub(), dc_error::dc_noerr, dc_trace::endsub(), dc_error::storeerror(), and dc_types::string.