Definition at line 581 of file collections.F90.
◆ hashmap_get_iterator()
type(iterator_type) function collections_mod::c_get_iterator::hashmap_get_iterator |
( |
type(hashmap_type), intent(inout) |
specificmap | ) |
|
|
private |
Retrieves an iterator representation of the hashmap, ready to access the first element.
- Parameters
-
specificmap | Specific collection to base this iterator on |
- Returns
- The iterator ready to access the first element
Definition at line 1256 of file collections.F90.
1256 type(hashmap_type),
intent(inout) :: specificmap
1260 hashmap_get_iterator%next_item=>null()
1261 if (
associated(specificmap%map_ds))
then 1262 hashmap_get_iterator%hash_structure=>specificmap%map_ds
1264 do i=1,
size(specificmap%map_ds)
1265 if (specificmap%map_ds(i)%size .gt. 0)
then 1266 hashmap_get_iterator%next_item=>specificmap%map_ds(i)%head
1270 hashmap_get_iterator%hash_ptr=i+1
◆ hashset_get_iterator()
type(iterator_type) function collections_mod::c_get_iterator::hashset_get_iterator |
( |
type(hashset_type), intent(inout) |
specificset | ) |
|
|
private |
Retrieves an iterator representation of the hashset, ready to access the first element.
- Parameters
-
specificset | Specific collection to base this iterator on |
- Returns
- The iterator ready to access the first element
Definition at line 1934 of file collections.F90.
1934 type(hashset_type),
intent(inout) :: specificset
1938 hashset_get_iterator%next_item=>null()
1939 if (
associated(specificset%set_ds))
then 1940 hashset_get_iterator%hash_structure=>specificset%set_ds
1942 do i=1,
size(specificset%set_ds)
1943 if (specificset%set_ds(i)%size .gt. 0)
then 1944 hashset_get_iterator%next_item=>specificset%set_ds(i)%head
1948 hashset_get_iterator%hash_ptr=i+1
◆ list_get_iterator()
type(iterator_type) function collections_mod::c_get_iterator::list_get_iterator |
( |
type(list_type), intent(inout) |
specificlist | ) |
|
|
private |
Retrieves an iterator representation of the list, ready to access the first element.
- Parameters
-
specificlist | Specific collection to base this iterator on |
- Returns
- The iterator ready to access the first element
Definition at line 2769 of file collections.F90.
2769 type(list_type),
intent(inout) :: specificlist
2771 list_get_iterator%next_item=>specificlist%head
2772 list_get_iterator%hash_structure=>null()
2773 list_get_iterator%hash_ptr=0
◆ map_get_iterator()
type(iterator_type) function collections_mod::c_get_iterator::map_get_iterator |
( |
type(map_type), intent(inout) |
specificmap | ) |
|
|
private |
Retrieves an iterator representation of the map, ready to access the first element.
- Parameters
-
specificmap | Specific collection to base this iterator on |
- Returns
- The iterator ready to access the first element
Definition at line 628 of file collections.F90.
628 type(map_type),
intent(inout) :: specificmap
630 map_get_iterator%next_item=>specificmap%map_ds%head
631 map_get_iterator%hash_structure=>null()
632 map_get_iterator%hash_ptr=0
◆ queue_get_iterator()
type(iterator_type) function collections_mod::c_get_iterator::queue_get_iterator |
( |
type(queue_type), intent(inout) |
specificqueue | ) |
|
|
private |
Retrieves an iterator representation of the queue, ready to access the first element.
- Parameters
-
specificqueue | Specific collection to base this iterator on |
- Returns
- The iterator ready to access the first element
Definition at line 2473 of file collections.F90.
2473 type(queue_type),
intent(inout) :: specificqueue
2475 queue_get_iterator%next_item=>specificqueue%queue_ds%head
2476 queue_get_iterator%hash_structure=>null()
2477 queue_get_iterator%hash_ptr=0
◆ stack_get_iterator()
type(iterator_type) function collections_mod::c_get_iterator::stack_get_iterator |
( |
type(stack_type), intent(inout) |
specificstack | ) |
|
|
private |
Retrieves an iterator representation of the stack, ready to access the first element.
- Parameters
-
specificstack | Specific collection to base this iterator on |
- Returns
- The iterator ready to access the first element
Definition at line 2177 of file collections.F90.
2177 type(stack_type),
intent(inout) :: specificstack
2179 stack_get_iterator%next_item=>specificstack%stack_ds%head
2180 stack_get_iterator%hash_structure=>null()
2181 stack_get_iterator%hash_ptr=0
The documentation for this interface was generated from the following file:
- /nfs/a277/earlcd/dev/monc/svn-git/monc/model_core/src/utils/collections.F90