[ HDF5 High Level Tutorial Top ] [ Next ] [ Prev ]

H5TB: HDF5 Table
Tables

Overwrite records

To overwrite records of a table we use the H5TBwrite_records function. This function overwrites one or several records by specifying a start record and the number of records to write. In the example, we overwrite the first and second record by calling

H5TBwrite_records( file_id, "Table1", 0, 2, dst_size, dst_offset, particle );

Programming Example

The following C program provide an example of how to overwrite records of a table. The table is initially filled with a set of fill values. The corresponding HDF5 file that is generated is also referenced here. You can use an HDF5 file browser to access this file by clicking on the link below.

NOTE: To download a tar file of all of the examples, including a Makefile, please go to the Index page.


HDF Help Desk
Last modified: November 18, 2002