Octopus
linked_list_oct_m::linked_list_iterator_t Type Reference

This class implements an iterator for the polymorphic linked list. More...

Detailed Description

This class implements an iterator for the polymorphic linked list.

Note
This class and the corresponding list (linked_list_t) are not meant to used as is, but rather to be extended and by providing an add method to the list and a get_next method to the iterator.

Definition at line 154 of file linked_list.F90.

Inheritance diagram for linked_list_oct_m::linked_list_iterator_t:
Inheritance graph

Private Member Functions

procedure start => linked_list_iterator_start
 
procedure has_next => linked_list_iterator_has_next
 
procedure get_next_ptr => linked_list_iterator_get_next_ptr
 

Private Attributes

class(list_node_t), pointer next_node => null()
 

Member Function/Subroutine Documentation

◆ start()

procedure linked_list_oct_m::linked_list_iterator_t::start
private

Definition at line 158 of file linked_list.F90.

◆ has_next()

procedure linked_list_oct_m::linked_list_iterator_t::has_next
private

Definition at line 159 of file linked_list.F90.

◆ get_next_ptr()

procedure linked_list_oct_m::linked_list_iterator_t::get_next_ptr
private

Definition at line 160 of file linked_list.F90.

Member Data Documentation

◆ next_node

class(list_node_t), pointer linked_list_oct_m::linked_list_iterator_t::next_node => null()
private

Definition at line 156 of file linked_list.F90.


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