![]() |
Octopus
|
This module implements a node of a polymorphic linked list. More...
This module implements a node of a polymorphic linked list.
Data Types | |
| interface | list_node_t |
| class for a node in a polymorphic linked list More... | |
Functions/Subroutines | |
| class(list_node_t) function, pointer | list_node_constructor (value, next, clone) |
| create a new node More... | |
| class(list_node_t) function, pointer | list_node_copy (this, next) |
| copy a node More... | |
| class(list_node_t) function, pointer | list_node_next (this) |
| get next node More... | |
| subroutine | list_node_set_next (this, next_node) |
| class(*) function, pointer | list_node_get (this) |
| get data of node More... | |
| logical function | list_node_is_equal (this, value) |
| subroutine | list_node_finalize (this) |
|
private |
create a new node
| value | data to store in the node | |
| next | pointer to the next node | |
| [in] | clone | is this node a clone? |
Definition at line 141 of file list_node.F90.
|
private |
copy a node
| this | the source node |
| next | pointer to the next node |
Definition at line 163 of file list_node.F90.
|
private |
get next node
Definition at line 174 of file list_node.F90.
|
private |
Definition at line 183 of file list_node.F90.
|
private |
get data of node
Definition at line 193 of file list_node.F90.
|
private |
Definition at line 202 of file list_node.F90.
|
private |
Definition at line 245 of file list_node.F90.