Procedures

ProcedureLocationProcedure TypeDescription
add_clone linked_list_module Subroutine

Add an item to the end of the list by cloning it. That is, using a sourced allocation: allocate(newitem, source=value). A clone is made of the original value, which is not affected. The list contains only the clone, which will be deallocated (and finalized if a finalizer is present) when removed from the list.

Read more…
add_pointer linked_list_module Subroutine

Add an item to the list, and associate its pointer to the input value.

Read more…
destroy_list linked_list_module Subroutine

destroy the list (traverses from head to tail)

destroy_node linked_list_module Subroutine

destroy the node (and subsequent ones in the list).

destroy_node_data linked_list_module Subroutine

destroy the data in the node.

get_data linked_list_module Subroutine

Returns a pointer to the data stored in the list.

get_node linked_list_module Subroutine

Returns a pointer to a node in a list.

get_node_data linked_list_module Subroutine

Get the data from a node

has_key linked_list_module Function

Returns true if the key is present in the list

initialize_list linked_list_module Function

list constructor.

keys_equal linked_list_module Function

Returns true if the two keys are equal.

Read more…
list linked_list_module Interface
list_finalizer linked_list_module Subroutine

just a wrapper for destroy_list.

remove_by_key linked_list_module Subroutine

Remove an item from the list (given the key).

remove_by_pointer linked_list_module Subroutine

Remove an item from the list.

traverse linked_list_module Subroutine

traverse list from head to tail, and call the iterator function for each key.

traverse_list linked_list_module Subroutine

traverse list from head to tail, and call the iterator function for each node.

uppercase linked_list_module Function

Convert a string to uppercase.

call~~graph~~CallGraph interface~list list proc~initialize_list initialize_list interface~list->proc~initialize_list none~operator(==) key_class%operator(==) key_equal key_equal none~operator(==)->key_equal proc~add_clone list%add_clone proc~add_pointer list%add_pointer proc~add_clone->proc~add_pointer proc~get_node list%get_node proc~add_pointer->proc~get_node proc~remove_by_pointer list%remove_by_pointer proc~add_pointer->proc~remove_by_pointer proc~destroy_list list%destroy_list proc~destroy_node destroy_node proc~destroy_list->proc~destroy_node proc~destroy_node->proc~destroy_node proc~destroy_node_data node%destroy_node_data proc~destroy_node->proc~destroy_node_data proc~get_data list%get_data proc~get_data->proc~get_node proc~keys_equal list%keys_equal proc~get_node->proc~keys_equal proc~get_node_data node%get_node_data proc~has_key list%has_key proc~traverse_list list%traverse_list proc~has_key->proc~traverse_list proc~uppercase uppercase proc~keys_equal->proc~uppercase proc~list_finalizer list_finalizer proc~list_finalizer->proc~destroy_list proc~remove_by_key list%remove_by_key proc~remove_by_key->proc~get_node proc~remove_by_key->proc~remove_by_pointer proc~remove_by_pointer->proc~destroy_node_data proc~traverse list%traverse proc~traverse->proc~traverse_list
Help