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 | ||
| ) |
Search list entry by name
gthstnml_list (type GTHST_NMLINFO_ENTRY) that is a list structure is received, and gthstnml_list is reassociated to the entry that has a value that is same as argument name, and returned. If the entry is not found, null is returned. If gthstnml_list is null from the beginning, null is returned.
If previous is given, an entry previous to the above entry is associated. If previous entries are not found, null is returned.
If next is given, an entry next to the above entry is associated. If next entries are not found, null is returned.
| [in,out] | gthstnml_list | List entry pointer |
| [in] | name | Variable identifier |
| [out] | previous | Previous entry pointer (optional) |
| [out] | next | Next entry pointer (optional) |
| [out] | err | Error flag (optional) |
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.