Determines if an item is in a list and returns the position of the item.
More...
|
subroutine | list_item_in_list_intg1 (LIST, ITEM, LIST_ITEM, ERR, ERROR,) |
| Determines if ITEM is in the given integer LIST. If it is LIST_ITEM is the index in the list. If not LIST_ITEM is 0. More...
|
|
subroutine | list_item_in_list_sp1 (LIST, ITEM, LIST_ITEM, ERR, ERROR,) |
| Determines if ITEM is in the given single precision real LIST. If it is LIST_ITEM is the index in the list. If not LIST_ITEM is 0. More...
|
|
subroutine | list_item_in_list_dp1 (LIST, ITEM, LIST_ITEM, ERR, ERROR,) |
| Determines if ITEM is in the given double precision real LIST. If it is LIST_ITEM is the index in the list. If not LIST_ITEM is 0. More...
|
|
Determines if an item is in a list and returns the position of the item.
- See also
- LISTS.
Definition at line 204 of file lists.f90.
subroutine lists::list_iteminlist::list_item_in_list_dp1 |
( |
type(list_type), intent(in), pointer |
LIST, |
|
|
real(dp), intent(in) |
ITEM, |
|
|
integer(intg), intent(out) |
LIST_ITEM, |
|
|
integer(intg), intent(out) |
ERR, |
|
|
type(varying_string), intent(out) |
ERROR |
|
) |
| |
|
private |
Determines if ITEM is in the given double precision real LIST. If it is LIST_ITEM is the index in the list. If not LIST_ITEM is 0.
- Parameters
-
[in] | list | The pointer to the list |
[in] | item | The item to find. |
[out] | list_item | On exit, the position of the item in the list. If the item does not exist then the value of 0 is returned. |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 2092 of file lists.f90.
subroutine lists::list_iteminlist::list_item_in_list_intg1 |
( |
type(list_type), intent(in), pointer |
LIST, |
|
|
integer(intg), intent(in) |
ITEM, |
|
|
integer(intg), intent(out) |
LIST_ITEM, |
|
|
integer(intg), intent(out) |
ERR, |
|
|
type(varying_string), intent(out) |
ERROR |
|
) |
| |
|
private |
Determines if ITEM is in the given integer LIST. If it is LIST_ITEM is the index in the list. If not LIST_ITEM is 0.
- Parameters
-
[in] | list | The pointer to the list |
[in] | item | The item to find. |
[out] | list_item | On exit, the position of the item in the list. If the item does not exist then the value of 0 is returned. |
[out] | err | The error code |
[out] | error | The error string. |
Definition at line 1907 of file lists.f90.
subroutine lists::list_iteminlist::list_item_in_list_sp1 |
( |
type(list_type), intent(in), pointer |
LIST, |
|
|
real(sp), intent(in) |
ITEM, |
|
|
integer(intg), intent(out) |
LIST_ITEM, |
|
|
integer(intg), intent(out) |
ERR, |
|
|
type(varying_string), intent(out) |
ERROR |
|
) |
| |
|
private |
Determines if ITEM is in the given single precision real LIST. If it is LIST_ITEM is the index in the list. If not LIST_ITEM is 0.
- Parameters
-
[in] | list | The pointer to the list |
[in] | item | The item to find. |
[out] | list_item | On exit, the position of the item in the list. If the item does not exist then the value of 0 is returned. |
[out] | err | The error code |
[out] | error | The error string |
Definition at line 1999 of file lists.f90.