Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layer
id1195548671
Content Column
width50.00001%
id1195578110
classrm_pagetree_col mobile-hide
Content Block
id1195578111
 
Content Column
width50.00001%
id1195548673
classhdf-rm-main-column
Content Block
id1195548672

Include Content
render-without-blockstrue
page.rm-navbar
HTML Wrap
classhdf-print-only

Page Title

HTML Wrap
classhdf-rm-summary-block

Hdf rm anchor
AnchorNamesummary

Excerpt

Reads a table

HTML Wrap
classhdf-rm-content-block

Hdf rm anchor
AnchorNameprocedure

Procedure:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf_procedure

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

Hdf rm anchor
AnchorNamesignature

Signature:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-c

HTML
<pre><code class="language-c">herr_t H5TBread_table(hid_t loc_id,
                      const char *dset_name,
                      size_t type_size,
                      const size_t *field_offset,
                      const size_t *field_sizes,
                      void *dst_buf)</code></pre>
HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-fortran

HTML
<pre><code class="language-fortran">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</code></pre>

Hdf rm anchor
AnchorNameparameters

Parameters:
HTML Wrap
classhdf-rm-section
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
size_t dst_sizeIN: The size of the structure type, as calculated by sizeof()
const size_t *dst_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 sizes of the fields. These sizes can be calculated with the sizeof() macro.
void *dst_bufOUT: Buffer with data

Hdf rm anchor
AnchorNamedescription

Description:
HTML Wrap
classhdf-rm-section

H5TB_READ_TABLE reads a table named table_name attached to the object specified by the identifier loc_id

Hdf rm anchor
AnchorNamereturns

Returns:
HTML Wrap
classhdf-rm-section

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

Hdf rm anchor
AnchorNameexample

Example:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathhl/examples/ex_table_01.c
showLineNumberstrue
lineStart108
progLangplain
lineEnd109
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

 

 

Comment
HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/

1.10/master

hdf5_1_12
projectKeyHDFFV
filepathhl/fortran/

examples

test/

compound

tsttable.

f90

F90
showLineNumberstrue
lineStart

25

701
progLangplain
lineEnd

35

702
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336