MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
memorycontaineriteratormodule::memorycontaineriteratortype Interface Reference

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

Collaboration diagram for memorycontaineriteratormodule::memorycontaineriteratortype:
Collaboration graph

Private Member Functions

procedure has_next
 
procedure next
 
type(memorycontaineriteratortype) function constructor (container_iterator)
 Constructor to create a MemoryContainerIterator. More...
 

Private Attributes

class(iteratortype), allocatable container_iterator
 the current iterator to the underlying container More...
 

Detailed Description

Definition at line 14 of file MemoryContainerIterator.f90.

Member Function/Subroutine Documentation

◆ constructor()

type(memorycontaineriteratortype) function memorycontaineriteratormodule::memorycontaineriteratortype::constructor ( class(iteratortype), allocatable  container_iterator)
private

Definition at line 31 of file MemoryContainerIterator.f90.

32  class(IteratorType), allocatable :: container_iterator
33  type(MemoryContainerIteratorType) :: iterator
34 
35  call move_alloc(container_iterator, iterator%container_iterator)
36 

◆ has_next()

procedure memorycontaineriteratormodule::memorycontaineriteratortype::has_next
private

Definition at line 18 of file MemoryContainerIterator.f90.

◆ next()

procedure memorycontaineriteratormodule::memorycontaineriteratortype::next
private

Definition at line 19 of file MemoryContainerIterator.f90.

Here is the call graph for this function:

Member Data Documentation

◆ container_iterator

class(iteratortype), allocatable memorycontaineriteratormodule::memorycontaineriteratortype::container_iterator
private

Definition at line 16 of file MemoryContainerIterator.f90.

16  class(IteratorType), allocatable :: container_iterator !< the current iterator to the underlying container

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