Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5TB_INSERT_RECORD

Insert records

Procedure:

H5TB_INSERT_RECORD (loc_id, dset_name, start, nrecords, type_size, field_offset, field_sizes, buf )

Signature:

herr_t H5TBinsert_record(hid_t loc_id,
                         const char *dset_name,
                         hsize_t start,
                         hsize_t nrecords,
                         size_t type_size,
                         const size_t *field_offset,
                         const size_t *field_sizes,
                         void *buf)

Parameters:
hid_t loc_idIN: Identifier of the file or group in which the table is located
const char *dset_nameIN: The name of the dataset
hsize_t  startIN: The position to insert
hsize_t nrecordsIN: The number of records to insert

size_t type_size

IN: The size in bytes of the structure associated with the table

const size_t *field_offset

IN: An array containing the offsets of the fields

const size_t *field_sizes

IN: An array containing the size in bytes of the fields
void *dataIN: Buffer with data

Description:

H5TB_INSERT_RECORD inserts records into the middle of the table ("pushing down" all the records after it)

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

Include Bitbucket Server for Confluence: File content cannot be shown

Unauthenticated access to this resource is not allowed. Please login to Confluence first.

--- Last Modified: December 11, 2019 | 01:53 PM