Returns the number of key/value-items currently stored in the dictionary.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dict_str_i4_type), | intent(inout) | :: | dict |
FUNCTION dict_str_i4_size(dict) RESULT(size) !! Returns the number of key/value-items currently stored in the dictionary. TYPE(dict_str_i4_type), intent(inout) :: dict INTEGER :: size IF (.not. ASSOCIATED(dict%buckets)) & DBCSR_ABORT("dict_str_i4_size: dictionary is not initialized.") size = dict%size END FUNCTION dict_str_i4_size