Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5M_EXISTS

Checks if provided key exists in a map object

Procedure:

H5M_EXISTS(map_id, key_mem_type_id, const void *key, hbool_t *exists, dxpl_id)

Signature:

hid_t H5Mexists( hid_t map_id, hid_t key_mem_type_id, const void *key, hbool_t *exists, hid_t dxpl_id )

 

Parameters:
hid_t map_idIN: Map object identifier
hid_t key_mem_type_idIN: Datatype identifier for a key in memory buffer
const void  *keyIN: Pointer to key buffer
hbool_t *existsOUT: Pointer to a buffer to return the existence status
hid_t dxpl_idIN: Property list

 

 

Description:

H5M_EXISTS checks if the provided key is stored in the map object specified by map_id. If key_mem_type_id is different from that used to create the map object the key will be internally converted to the datatype for the map object for the query.

 Any further options can be specified through the property list dxpl_id.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value. 

Example:
History:
ReleaseChange
1.13.0C function introduced in this release.

--- Last Modified: December 20, 2020 | 11:40 PM