Retrieves the number of key-value pairs in a map object
Procedure:
H5M_GET_COUNT(map_id, count, dxpl_t)
Signature:
herr_t H5Mget_count( hid_t map_id, hsize_t *count, hid_t dxpl_t )
Parameters:
hid_t map_id | IN: Identifier of a map object |
hsize_t *count | OUT: The number of key-value pairs stored in the map object |
hid_t dxpl_id | IN: Property list identifier |
Description:
H5M_GET_COUNT retrieves the number of key-value pairs stored in a map specified by map_id
.
Returns:
Returns a non-negative value if successful; otherwise returns a negative value.
Example:
History:
Release | Change |
---|
1.13.0 | C function introduced in this release. |
--- Last Modified: December 20, 2020 | 11:45 PM