Provides an abstract type for mapping data structures. These are data structures which consist of key-value pairs.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dictionary), | intent(in) | :: | this |
A list containing all of the keys in this dictionary
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dictionary), | intent(in) | :: | this |
A list containing all of the values in this dictionary, stored in the same order as their corresponding key would be were keys called
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dictionary), | intent(inout) | :: | this | |||
class(*), | intent(in) | :: | key | The key whose value is to be set |
||
class(*), | intent(in) | :: | val | The value to be assigned to the specified key |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dictionary), | intent(in) | :: | this |
A container of the dynamic type used to store this dictionary's keys or values.
procedure(keys_func), public, deferred :: keys | Returns a list of the keys in this dictionary |
procedure(values_func), public, deferred :: values | Returns a list of the values stored in this dictionary, in the same order as the corresponding keys are returned when keys is called |
procedure(set_func), public, deferred :: set | Sets the given key to the give value |
procedure(type_func), public, deferred :: key_type | Returns a container of the dynamics type used to store keys |
procedure(type_func), public, deferred :: value_type | Returns a container of dynamics the type used to store values |
An abstract type for mapping data structures. These are data structures which consist of key-value pairs. Examples of such structures are dictionaries in Python or a hash variable in Perl.