sll_get_at Subroutine

public recursive subroutine sll_get_at(node, depth, key, data, found)

Return a node at a specific depth in the sll

Arguments

Type IntentOptional Attributes Name
type(fhash_node_t), intent(in), target :: node

Node to search in

integer, intent(in) :: depth

Node depth to access

class(fhash_key_t), intent(out), allocatable :: key

Key of found item (Unallocated if no node is found at specified depth)

type(fhash_container_t), intent(out), pointer :: data

Pointer to value container if found. (Unassociated if no node is found at specified depth)

logical, intent(out), optional :: found

Contents