MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
keyvaluelistiteratormodule::keyvaluelistiteratortype Interface Reference

An iterator used to iterate through a KeyValueList. More...

Inheritance diagram for keyvaluelistiteratormodule::keyvaluelistiteratortype:
Inheritance graph
Collaboration diagram for keyvaluelistiteratormodule::keyvaluelistiteratortype:
Collaboration graph

Public Member Functions

procedure has_next
 
procedure next
 
type(keyvaluelistiteratortype) function constructor (first_node)
 Constructor to create a KeyValueListIterator. More...
 

Public Attributes

type(keyvaluenodetype), pointer first_node => null()
 the KeyValueList to iterate through More...
 
type(keyvaluenodetype), pointer current_node => null()
 the current node in the list the iterator is pointing to More...
 

Detailed Description

Definition at line 9 of file KeyValueListIterator.f90.

Member Function/Subroutine Documentation

◆ constructor()

type(keyvaluelistiteratortype) function keyvaluelistiteratormodule::keyvaluelistiteratortype::constructor ( type(keyvaluenodetype), intent(in), pointer  first_node)

Definition at line 28 of file KeyValueListIterator.f90.

29  type(KeyValueNodeType), pointer, intent(in) :: first_node
30  type(KeyValueListIteratorType) :: iterator
31 
32  iterator%first_node => first_node
33  iterator%current_node => null()
34 

◆ has_next()

procedure keyvaluelistiteratormodule::keyvaluelistiteratortype::has_next

Definition at line 14 of file KeyValueListIterator.f90.

◆ next()

procedure keyvaluelistiteratormodule::keyvaluelistiteratortype::next

Definition at line 15 of file KeyValueListIterator.f90.

Here is the call graph for this function:

Member Data Documentation

◆ current_node

type(keyvaluenodetype), pointer keyvaluelistiteratormodule::keyvaluelistiteratortype::current_node => null()

Definition at line 12 of file KeyValueListIterator.f90.

12  type(KeyValueNodeType), pointer :: current_node => null() !< the current node in the list the iterator is pointing to

◆ first_node

type(keyvaluenodetype), pointer keyvaluelistiteratormodule::keyvaluelistiteratortype::first_node => null()

Definition at line 11 of file KeyValueListIterator.f90.

11  type(KeyValueNodeType), pointer :: first_node => null() !< the KeyValueList to iterate through

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