Definition at line 30 of file configurationparser.F90.
◆ get_data_value_from_hashmap_by_field_name()
type(data_values_type) function, pointer configuration_parser_mod::get_data_value_by_field_name::get_data_value_from_hashmap_by_field_name |
( |
type(hashmap_type), intent(inout) |
collection, |
|
|
character(len=*), intent(in) |
field_name |
|
) |
| |
|
private |
Retrieves the data value (wrapper) by field name or null if no entry was found in the provided collection.
- Parameters
-
collection | A hashmap to search for this data value in |
field_name | The field name to search for |
- Returns
- The corresponding data value or null if none is found
Definition at line 1170 of file configurationparser.F90.
1171 type(hashmap_type),
intent(inout) :: collection
1172 character(len=*),
intent(in) :: field_name
1173 type(data_values_type),
pointer :: get_data_value_from_hashmap_by_field_name
1175 class(*),
pointer :: generic
1177 generic=>c_get_generic(collection, field_name)
1178 if (
associated(generic))
then
1179 select type(generic)
1180 type is (data_values_type)
1181 get_data_value_from_hashmap_by_field_name=>generic
1184 get_data_value_from_hashmap_by_field_name=>null()
◆ get_data_value_from_map_by_field_name()
type(data_values_type) function, pointer configuration_parser_mod::get_data_value_by_field_name::get_data_value_from_map_by_field_name |
( |
type(map_type), intent(inout) |
collection, |
|
|
character(len=*), intent(in) |
field_name |
|
) |
| |
|
private |
Retrieves the data value (wrapper) by field name or null if no entry was found in the provided collection.
- Parameters
-
collection | A map to search for this data value in |
field_name | The field name to search for |
- Returns
- The corresponding data value or null if none is found
Definition at line 1192 of file configurationparser.F90.
1193 type(map_type),
intent(inout) :: collection
1194 character(len=*),
intent(in) :: field_name
1195 type(data_values_type),
pointer :: get_data_value_from_map_by_field_name
1197 class(*),
pointer :: generic
1199 generic=>c_get_generic(collection, field_name)
1200 if (
associated(generic))
then
1201 select type(generic)
1202 type is (data_values_type)
1203 get_data_value_from_map_by_field_name=>generic
1206 get_data_value_from_map_by_field_name=>null()
The documentation for this interface was generated from the following file: