OpenCMISS-Iron Internal API Documentation
lists::list_iteminlist Interface Reference

Determines if an item is in a list and returns the position of the item. More...

Private Member Functions

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...
 

Detailed Description

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.

Member Function/Subroutine Documentation

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]listThe pointer to the list
[in]itemThe item to find.
[out]list_itemOn exit, the position of the item in the list. If the item does not exist then the value of 0 is returned.
[out]errThe error code
[out]errorThe 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]listThe pointer to the list
[in]itemThe item to find.
[out]list_itemOn exit, the position of the item in the list. If the item does not exist then the value of 0 is returned.
[out]errThe error code
[out]errorThe 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]listThe pointer to the list
[in]itemThe item to find.
[out]list_itemOn exit, the position of the item in the list. If the item does not exist then the value of 0 is returned.
[out]errThe error code
[out]errorThe error string

Definition at line 1999 of file lists.f90.