35 call move_alloc(container_iterator, iterator%container_iterator)
46 res = this%container_iterator%has_next()
55 call this%container_iterator%next()
61 function value(this)
result(res)
65 class(*),
pointer :: obj
67 obj => this%container_iterator%value()
This module defines variable data types.
type(memorytype) function, pointer value(this)
Get the value the iterator is pointing to.
subroutine next(this)
Increment the iterator to the next node.
logical(lgp) function has_next(this)
Indicates if there is a next node in the iteration chain.
type(memorycontaineriteratortype) function constructor(container_iterator)
Constructor to create a MemoryContainerIterator.
An iterator used to iterate through a MemoryContainer.