[svn-r5958]
Purpose:
Added missing fortran functions h5set(get)_buffer_f.
Also added docs and tests for them.
Solution:
Currently functions do not accept conversion and background buffers.
This corresponds to H5set(get)_buffer call with buffer pointers
set to NULL. If there is a demand, I can overload the functions
to have new parameters and go through all trouble creating functions
for all supported datatypes.
Platforms tested:
Solaris 2.7, Linux 2.2., IRIX64-6.5
This commit is contained in:
@@ -1395,6 +1395,54 @@ FORTRAN Property List API -- h5p
|
||||
</pre>
|
||||
|
||||
|
||||
<p>
|
||||
<p>
|
||||
<hr>
|
||||
<p>
|
||||
<a name="h5pset_buffer_f">
|
||||
<p>
|
||||
</a>
|
||||
|
||||
|
||||
<dt><strong>FORTRAN interface:</strong>   <strong>h5pset_buffer_f</strong>
|
||||
<pre>
|
||||
|
||||
SUBROUTINE h5pset_buffer_f(plist_id, size, hdferr)
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: plist_id ! Dataset trasfer
|
||||
! property list identifier
|
||||
INTEGER(HSIZE_T), INTENT(IN) :: size ! Conversion buffer size
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
END SUBROUTINE h5pset_buffer_f
|
||||
|
||||
</pre>
|
||||
|
||||
|
||||
<p>
|
||||
<p>
|
||||
<hr>
|
||||
<p>
|
||||
<a name="h5pget_buffer_f">
|
||||
<p>
|
||||
</a>
|
||||
|
||||
|
||||
<dt><strong>FORTRAN interface:</strong>   <strong>h5pget_buffer_f</strong>
|
||||
<pre>
|
||||
|
||||
SUBROUTINE h5pget_buffer_f(plist_id, size, hdferr)
|
||||
IMPLICIT NONE
|
||||
INTEGER(HID_T), INTENT(IN) :: plist_id ! Dataset trasfer
|
||||
! property list identifier
|
||||
INTEGER(HSIZE_T), INTENT(OUT) :: size ! Conversion buffer size
|
||||
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
||||
END SUBROUTINE h5pget_buffer_f
|
||||
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user