(git:b279b6b)
cp_linked_list_fm.F File Reference

Go to the source code of this file.

Modules

module  cp_linked_list_fm
 

Functions/Subroutines

subroutine, public cp_linked_list_fm::cp_sll_fm_create (sll, first_el, rest)
 allocates and initializes a single linked list More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_dealloc (sll)
 deallocates the singly linked list starting at sll. Does not work if loops are present! More...
 
type(cp_fm_type) function, pointer, public cp_linked_list_fm::cp_sll_fm_get_first_el (sll)
 returns the first element stored in the list More...
 
type(cp_sll_fm_type) function, pointer, public cp_linked_list_fm::cp_sll_fm_get_rest (sll, iter)
 returns the rest of the list More...
 
integer function, public cp_linked_list_fm::cp_sll_fm_get_length (sll)
 returns the length of the list More...
 
type(cp_fm_type) function, pointer, public cp_linked_list_fm::cp_sll_fm_get_el_at (sll, index)
 returns the element at the given index More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_set_el_at (sll, index, value)
 sets the element at the given index More...
 
logical function, public cp_linked_list_fm::cp_sll_fm_next (iterator, el_att)
 returns true if the actual element is valid (i.e. iterator ont at end) moves the iterator to the next element More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_insert_el (sll, el)
 insert an element at the beginning of the list More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_rm_first_el (sll)
 remove the first element of the linked list More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_insert_el_at (sll, el, index)
 inserts the element at the given index More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_rm_el_at (sll, index)
 removes the element at the given index More...
 
subroutine, public cp_linked_list_fm::cp_sll_fm_rm_all_el (sll)
 removes all the elements from the list More...
 
type(cp_fm_p_type) function, dimension(:), pointer, public cp_linked_list_fm::cp_sll_fm_to_array (sll)
 returns a newly allocated array with the same contents as the linked list More...