Page tree

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

 

JAVA

FORTRAN

C++

C

 

Link

H5TB_READ_TABLE

Reads a table.

Procedure:

H5TB_READ_TABLE(loc_id, table_name, dst_size, dst_offset, dst_sizes, dst_buf)

Signature:

herr_t H5TBread_table( hid_t loc_id, const char *table_name, size_t dst_size,  const size_t *dst_offset, const size_t *dst_sizes, void *dst_buf )

subroutine h5tbread_table_f(loc_id, table_name, nfields, dst_size, dst_offset, &
                             dst_sizes, dst_buf, errcode)

    integer(HID_T),   intent(IN) :: loc_id                            ! An array containing the sizes of the fields
    character(LEN=*), intent(IN) :: table_name                        ! The name of the dataset to read
    integer(HSIZE_T), intent(IN) :: nfields                           ! number of fields
    integer(SIZE_T),  intent(IN) :: dst_size                          ! The size of the structure type
    integer(SIZE_T),  dimension(1:nfields), intent(IN) :: dst_offset  ! An array containing the offsets of the fields
    integer(SIZE_T),  dimension(1:nfields), intent(IN) :: dst_sizes   ! An array containing the sizes of the fields
    type(C_PTR), intent(out) :: dst_buf                               ! Buffer with data
    integer :: errcode                                                ! error code

Parameters:

hid_t loc_id

    IN: Identifier of the file or group to read the table within.

const char *table_name

    IN: The name of the dataset to read.

size_t dst_size

    IN: The size of the structure type, as calculated by sizeof().

const size_t *dst_offset

    IN: An array containing the offsets of the fields. These offsets can be calculated with the HOFFSET macro.

const size_t  *dst_sizes

    IN: An array containing the sizes of the fields. These sizes can be calculated with the sizeof() macro.

void *dst_buf

    OUT: Buffer with data.

Description:

H5TBread_table reads a table 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:

Coming Soon!

--- Last Modified: December 04, 2017 | 07:22 AM