Page tree

The license could not be verified: License Certificate has expired!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

 

JAVA

FORTRAN

C++

C

 

Link

H5TB_READ_RECORDS

Reads records

Procedure:

H5TB_READ_RECORDS (loc_id, table_name, start, nrecords, type_size, field_offset, dst_sizes, data )

Signature:

 herr_t H5TBread_records ( hid_t loc_id, const char *table_name, hsize_t start, hsize_t nrecords, 
                 size_t type_size,  const size_t *field_offset, const size_t *dst_sizes,  void *data )

Parameters:
hid_t loc_idIN: Identifier of the file or group to read the table within
const char *table_nameIN: The name of the dataset to read
hsize_t  startIN: The start record to read from
hsize_t nrecordsIN: The number of records to read
size_t type_sizeIN: The size of the structure type, as calculated by sizeof()
const size_t *field_offsetIN: An array containing the offsets of the fields. These offsets can be calculated with the HOFFSET macro.
const size_t *dst_sizesIN: An array containing the size in bytes of the fields
void *dataOUT: Buffer with data

Description:

H5TB_READ_RECORDS reads some records identified from a dataset named table_name attached to the object specified by the identifier loc_id

Returns:

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

Example:

hl / test / test_table.c [562:565]  hdf5_1_12  HDFFV/hdf5
    if (H5TBread_records(fid,tname,rstart,rrecords,type_size_mem,field_offset,
        field_size,rbuf)<0)
        goto out;

--- Last Modified: December 19, 2019 | 10:02 AM