Opening a Dataset
Function Syntax
Open an existing dataset.
hid_t H5Dopen2( hid_t locId, const char *name, hid_t accessPlistId)
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
locId |
Location identifier, which may be that of a file, group, dataset, named data type, or attribute |
Integer |
Input |
*name |
Dataset name |
Non-empty string of less than 256 bytes |
Input |
accessPlistId |
Dataset access property list identifier |
Integer. The dapl_id parameter is currently not used. Specify H5P_DEFAULT. |
Input |
Return Value
- Success: dataset identifier
- Failure: negative value
Parent topic: Dataset APIs