Octopus
list_node_oct_m::list_node_t Interface Reference

class for a node in a polymorphic linked list More...

Detailed Description

class for a node in a polymorphic linked list

Definition at line 115 of file list_node.F90.

Private Member Functions

procedure get => list_node_get
 get data of node More...
 
procedure next => list_node_next
 get next node More...
 
procedure set_next => list_node_set_next
 
procedure is_equal => list_node_is_equal
 
procedure copy => list_node_copy
 copy a node More...
 
final list_node_finalize
 

Private Attributes

logical clone
 indicate whether this node is a clone of another node. In this case data is copeied, otherwise a pointer is stored. More...
 
class(*), pointer value => null()
 the data to be stored in the node More...
 
type(list_node_t), pointer next_node => null()
 pointer to the next node More...
 

Member Function/Subroutine Documentation

◆ get()

procedure list_node_oct_m::list_node_t::get
private

get data of node

Definition at line 122 of file list_node.F90.

◆ next()

procedure list_node_oct_m::list_node_t::next
private

get next node

Definition at line 123 of file list_node.F90.

◆ set_next()

procedure list_node_oct_m::list_node_t::set_next
private

Definition at line 124 of file list_node.F90.

◆ is_equal()

procedure list_node_oct_m::list_node_t::is_equal
private

Definition at line 125 of file list_node.F90.

◆ copy()

procedure list_node_oct_m::list_node_t::copy
private

copy a node

Parameters
thisthe source node
nextpointer to the next node
Returns
pointer to the new copy

Definition at line 126 of file list_node.F90.

◆ list_node_finalize()

final list_node_oct_m::list_node_t::list_node_finalize
finalprivate

Definition at line 127 of file list_node.F90.

Member Data Documentation

◆ clone

logical list_node_oct_m::list_node_t::clone
private

indicate whether this node is a clone of another node. In this case data is copeied, otherwise a pointer is stored.

Definition at line 117 of file list_node.F90.

◆ value

class(*), pointer list_node_oct_m::list_node_t::value => null()
private

the data to be stored in the node

Definition at line 119 of file list_node.F90.

◆ next_node

type(list_node_t), pointer list_node_oct_m::list_node_t::next_node => null()
private

pointer to the next node

Definition at line 120 of file list_node.F90.


The documentation for this interface was generated from the following file: