H5Mcreate

fnhid_t H5Mcreate( hid_t loc_id, const(char) * name, hid_t key_type_id, hid_t val_type_id, hid_t lcpl_id, hid_t mcpl_id, hid_t mapl_id )

Creates a new map object.

Creates a new map object at the specified location with the given key and value datatypes.

Parameters

loc_idLocation identifier (file or group)
nameName of the map to create
key_type_idDatatype identifier for keys
val_type_idDatatype identifier for values
lcpl_idLink creation property list identifier, or H5P_DEFAULT
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.