summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Pff.F90
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/src/H5Pff.F90')
-rw-r--r--fortran/src/H5Pff.F90134
1 files changed, 134 insertions, 0 deletions
diff --git a/fortran/src/H5Pff.F90 b/fortran/src/H5Pff.F90
index 75cd323..49917dd 100644
--- a/fortran/src/H5Pff.F90
+++ b/fortran/src/H5Pff.F90
@@ -609,6 +609,140 @@ CONTAINS
!>
!! \ingroup FH5P
!!
+!! \brief Sets the selection I/O mode
+!!
+!! \param plist_id \fortran_plist_id
+!! \param selection_io_mode The selection I/O mode
+!! \param hdferr \fortran_error
+!!
+!! See C API: @ref H5Pset_selection_io()
+!!
+ SUBROUTINE h5pset_selection_io_f(plist_id, selection_io_mode, hdferr)
+
+ IMPLICIT NONE
+
+ INTEGER(HID_T), INTENT(IN) :: plist_id
+ INTEGER, INTENT(IN) :: selection_io_mode
+ INTEGER, INTENT(OUT) :: hdferr
+
+ INTERFACE
+ INTEGER(C_INT) FUNCTION H5Pset_selection_io(plist_id, selection_io_mode) BIND(C, NAME='H5Pset_selection_io')
+ IMPORT :: HID_T, C_INT
+ IMPLICIT NONE
+ INTEGER(HID_T), VALUE :: plist_id
+ INTEGER(C_INT), VALUE :: selection_io_mode
+ END FUNCTION H5Pset_selection_io
+ END INTERFACE
+
+ hdferr = INT(H5Pset_selection_io(plist_id, INT(selection_io_mode, C_INT)))
+
+ END SUBROUTINE h5pset_selection_io_f
+
+!>
+!! \ingroup FH5P
+!!
+!! \brief Retrieves the selection I/O mode
+!!
+!! \param plist_id \fortran_plist_id
+!! \param selection_io_mode The selection I/O mode
+!! \param hdferr \fortran_error
+!!
+!! See C API: @ref H5Pget_selection_io()
+!!
+ SUBROUTINE h5pget_selection_io_f(plist_id, selection_io_mode, hdferr)
+
+ IMPLICIT NONE
+
+ INTEGER(HID_T), INTENT(IN) :: plist_id
+ INTEGER, INTENT(OUT) :: selection_io_mode
+ INTEGER, INTENT(OUT) :: hdferr
+
+ INTEGER(C_INT) :: c_selection_io_mode
+
+ INTERFACE
+ INTEGER(C_INT) FUNCTION H5Pget_selection_io(plist_id, selection_io_mode) BIND(C, NAME='H5Pget_selection_io')
+ IMPORT :: HID_T, C_INT
+ IMPLICIT NONE
+ INTEGER(HID_T), VALUE :: plist_id
+ INTEGER(C_INT) :: selection_io_mode
+ END FUNCTION H5Pget_selection_io
+ END INTERFACE
+
+ hdferr = INT(H5Pget_selection_io(plist_id, c_selection_io_mode))
+ selection_io_mode = INT(c_selection_io_mode)
+
+ END SUBROUTINE h5pget_selection_io_f
+
+!>
+!! \ingroup FH5P
+!!
+!! \brief Allows the library to modify the contents of the write buffer
+!!
+!! \param plist_id \fortran_plist_id
+!! \param modify_write_buf Whether the library can modify the contents of the write buffer
+!! \param hdferr \fortran_error
+!!
+!! See C API: @ref H5Pset_modify_write_buf()
+!!
+ SUBROUTINE h5pset_modify_write_buf_f(plist_id, modify_write_buf, hdferr)
+
+ IMPLICIT NONE
+
+ INTEGER(HID_T), INTENT(IN) :: plist_id
+ LOGICAL, INTENT(IN) :: modify_write_buf
+ INTEGER, INTENT(OUT) :: hdferr
+
+ INTERFACE
+ INTEGER(C_INT) FUNCTION H5Pset_modify_write_buf(plist_id, modify_write_buf) BIND(C, NAME='H5Pset_modify_write_buf')
+ IMPORT :: HID_T, C_INT, C_BOOL
+ IMPLICIT NONE
+ INTEGER(HID_T), VALUE :: plist_id
+ LOGICAL(C_BOOL), VALUE :: modify_write_buf
+ END FUNCTION H5Pset_modify_write_buf
+ END INTERFACE
+
+ hdferr = INT(H5Pset_modify_write_buf(plist_id, LOGICAL(modify_write_buf, C_BOOL)))
+
+ END SUBROUTINE h5pset_modify_write_buf_f
+
+!>
+!! \ingroup FH5P
+!!
+!! \brief Retrieves the "modify write buffer" property
+!!
+!! \param plist_id \fortran_plist_id
+!! \param modify_write_buf Whether the library can modify the contents of the write buffer
+!! \param hdferr \fortran_error
+!!
+!! See C API: @ref H5Pget_modify_write_buf()
+!!
+ SUBROUTINE h5pget_modify_write_buf_f(plist_id, modify_write_buf, hdferr)
+
+ IMPLICIT NONE
+
+ INTEGER(HID_T), INTENT(IN) :: plist_id
+ LOGICAL, INTENT(OUT) :: modify_write_buf
+ INTEGER, INTENT(OUT) :: hdferr
+
+ LOGICAL(C_BOOL) :: c_modify_write_buf
+
+ INTERFACE
+ INTEGER(C_INT) FUNCTION H5Pget_modify_write_buf(plist_id, modify_write_buf) BIND(C, NAME='H5Pget_modify_write_buf')
+ IMPORT :: HID_T, C_INT, C_BOOL
+ IMPLICIT NONE
+ INTEGER(HID_T), VALUE :: plist_id
+ LOGICAL(C_BOOL) :: modify_write_buf
+ END FUNCTION H5Pget_modify_write_buf
+ END INTERFACE
+
+ hdferr = INT(H5Pget_modify_write_buf(plist_id, c_modify_write_buf))
+ modify_write_buf = LOGICAL(c_modify_write_buf)
+
+ END SUBROUTINE h5pget_modify_write_buf_f
+
+!>
+!! \ingroup FH5P
+!!
!! \brief Sets the byte size of the offsets and lengths used to address objects in an HDF5 file.
!!
!! \param prp_id File creation property list identifier.