Returns low-lever driver identifier
H5P_GET_DRIVER ( plist_id )
hid_t H5Pget_driver( hid_t plist_id )
Fortran90 Interface: h5pget_driver_f SUBROUTINE h5pget_driver_f(prp_id, driver, hdferr) IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: prp_id ! Property list identifier INTEGER, INTENT(OUT) :: driver ! Low-level file driver identifier INTEGER, INTENT(OUT) :: hdferr ! Error code ! 0 on success and -1 on failure END SUBROUTINE h5pget_driver_f
plist_id IN: File access or data transfer property list identifier
H5P_GET_DRIVER returns the identifier of the low-level file driver associated with the file access property list or data transfer property list
Valid driver identifiers distributed with HDF5 are listed and described in the following table.
Supported file drivers in HDF5
|POSIX||This driver uses POSIX file-system functions like read and write to perform I/O to a single, permanent file on local disk with no system buffering. This driver is POSIX-compliant and is the default file driver for all systems.|
|Direct||This is the |
|Log||This is the |
|Windows||This driver was modified in HDF5-1.8.8 to be a wrapper of the POSIX driver, H5FD_SEC2. This change should not affect user applications.|
|STDIO||This driver uses functions from the standard C |
|Memory||With this driver, an application can work with a file in memory for faster reads and writes. File contents are kept in memory until the file is closed. At closing, the memory version of the file can be written back to disk or abandoned.|
|Family||With this driver, the HDF5 file’s address space is partitioned into pieces and sent to separate storage files using an underlying driver of the user’s choice. This driver is for systems that do not support files larger than 2 gigabytes.|
|Multi||With this driver, data can be stored in multiple files according to the type of the data. I/O might work better if data is stored in separate files based on the type of data. The Split driver is a special case of this driver.|
|Split||This file driver splits a file into two parts. One part stores metadata, and the other part stores raw data. This splitting a file into two parts is a limited case of the Multi driver.|
|Parallel||This is the standard HDF5 file driver for parallel file systems. This driver uses the MPI standard for both communication and file I/O.|
|Parallel POSIX||This driver is no longer available.|
|Stream||This driver is no longer available.|
This list does not include custom drivers that might be defined and registered by a user.
The returned driver identifier is only valid as long as the file driver remains registered.
Returns a valid low-level driver identifier if successful. Otherwise returns a negative value.
|1.4.0||Function introduced in this release.|