(git:0de0cc2)
list_routinereport.F File Reference

Go to the source code of this file.

Modules

module  list_routinereport
 An array-based list which grows on demand. When the internal array is full, a new array of twice the size will be allocated and the items are copied over.
 

Functions/Subroutines

logical function, public list_routinereport::list_routinereport_isready (list)
 Test if the given list has been initialized. More...
 
subroutine, public list_routinereport::list_routinereport_init (list, initial_capacity)
 Allocates the internal data-structures of the given list. This has to be called before any of the other routines. For deallocation call list_[valuetype]_destroy. More...
 
subroutine, public list_routinereport::list_routinereport_destroy (list)
 Deallocated the internal data-structures of the given list. Caution: If the stored values are pointers, their targets will not get deallocated by this routine. More...
 
subroutine, public list_routinereport::list_routinereport_set (list, value, pos)
 Assings the given value to the given position in the list. Thereby, the former value at that position gets overwritten. If the position is out of bounds, the program stops. More...
 
subroutine, public list_routinereport::list_routinereport_push (list, value)
 Appends the given value at the end of the list. More...
 
subroutine, public list_routinereport::list_routinereport_insert (list, value, pos)
 Inserts the given value at the givenn position within the list. Values which lay behind the insertion-position move one position up. More...
 
type(routine_report_type) function, pointer, public list_routinereport::list_routinereport_peek (list)
 Returns the last element in the list. Is equivalent to: list_routinereport_get(list, list_routinereport_size(list)) More...
 
type(routine_report_type) function, pointer, public list_routinereport::list_routinereport_pop (list)
 Returns the last element in the list and removes it. Is equivialent to: value = list_routinereport_get(list, list_routinereport_size(list)) call list_routinereport_del(list, list_routinereport_size(list)) More...
 
subroutine, public list_routinereport::list_routinereport_clear (list)
 Removes all values from the list. The list itself is not deallocated. More...
 
type(routine_report_type) function, pointer, public list_routinereport::list_routinereport_get (list, pos)
 Returns the value at the given position from the list. More...
 
subroutine, public list_routinereport::list_routinereport_del (list, pos)
 Removes the value at the given position from the list. More...
 
integer function, public list_routinereport::list_routinereport_size (list)
 Returns the current size of the list. More...