H5Mcreate_anon

fnhid_t H5Mcreate_anon( hid_t loc_id, hid_t key_type_id, hid_t val_type_id, hid_t mcpl_id, hid_t mapl_id )

Creates an anonymous map object.

Creates a new map object that is not linked into the file structure. The map must be linked using H5Olink before the file is closed, or it will be deleted.

Parameters

loc_idLocation identifier (file or group)
key_type_idDatatype identifier for keys
val_type_idDatatype identifier for values
mcpl_idMap creation property list identifier, or H5P_DEFAULT
mapl_idMap access property list identifier, or H5P_DEFAULT

Returns

A map identifier on success, or H5I_INVALID_HID on failure.