An iterator used to iterate through a PtrHashTable.
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(ptrhashtableiteratortype) function | constructor (buckets) |
| | Constructor to create a PtrHashTableIterator.
|
| procedure(has_next_if), deferred | has_next (this) |
| procedure(next_if), deferred | next (this) |
Definition at line 14 of file PtrHashTableIterator.f90.
◆ constructor()
Definition at line 32 of file PtrHashTableIterator.f90.
33 type(KeyValueListType), target, dimension(:), intent(in) :: buckets
34 type(PtrHashTableIteratorType) :: iterator
35
36 type(KeyValueListType), pointer :: first_bucket
37
38 iterator%buckets => buckets
39
40 first_bucket => iterator%buckets(1)
41 allocate (iterator%current_bucket_iterator, source=first_bucket%iterator())
42
◆ has_next() [1/2]
| procedure(has_next_if), deferred iteratormodule::iteratortype::has_next |
( |
class(iteratortype) | this | ) |
|
|
pure virtualinherited |
◆ has_next() [2/2]
◆ next() [1/2]
| procedure(next_if), deferred iteratormodule::iteratortype::next |
( |
class(iteratortype) | this | ) |
|
|
pure virtualinherited |
◆ next() [2/2]
◆ buckets
| type(keyvaluelisttype), dimension(:), pointer ptrhashtableiteratormodule::ptrhashtableiteratortype::buckets => null() |
◆ curent_bucket_index
| integer(i4b) ptrhashtableiteratormodule::ptrhashtableiteratortype::curent_bucket_index = 1 |
◆ current_bucket_iterator
| class(iteratortype), allocatable ptrhashtableiteratormodule::ptrhashtableiteratortype::current_bucket_iterator |
The documentation for this interface was generated from the following file: