An iterator used to iterate through a List.
More...
|
| procedure | has_next (this) |
| | Indicates if there is a next node in the iteration chain.
|
| procedure | next (this) |
| | Increment the iterator to the next node.
|
| type(listiteratortype) function | constructor (first_node) |
| | Constructor to create a ListIterator.
|
| procedure(has_next_if), deferred | has_next (this) |
| procedure(next_if), deferred | next (this) |
Definition at line 14 of file ListIterator.f90.
◆ constructor()
Definition at line 33 of file ListIterator.f90.
34 type(ListNodeType), pointer :: first_node
35 type(ListIteratorType) :: iterator
36
37 iterator%first_node => first_node
38 iterator%current_node => null()
39
◆ has_next() [1/2]
| procedure(has_next_if), deferred iteratormodule::iteratortype::has_next |
( |
class(iteratortype) | this | ) |
|
|
pure virtualinherited |
◆ has_next() [2/2]
| procedure listiteratormodule::listiteratortype::has_next |
( |
class(listiteratortype) | this | ) |
|
◆ next() [1/2]
| procedure(next_if), deferred iteratormodule::iteratortype::next |
( |
class(iteratortype) | this | ) |
|
|
pure virtualinherited |
◆ next() [2/2]
| procedure listiteratormodule::listiteratortype::next |
( |
class(listiteratortype) | this | ) |
|
◆ current_node
| type(listnodetype), pointer listiteratormodule::listiteratortype::current_node => null() |
◆ first_node
| type(listnodetype), pointer listiteratormodule::listiteratortype::first_node => null() |
|
private |
The documentation for this interface was generated from the following file: