1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2 * Copyright by The HDF Group. *
3 * Copyright by the Board of Trustees of the University of Illinois. *
4 * All rights reserved. *
6 * This file is part of HDF5. The full HDF5 copyright notice, including *
7 * terms governing use, modification, and redistribution, is contained in *
8 * the COPYING file, which can be found at the root of the source code *
9 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
10 * If you do not have access to either file, you may request a copy from *
11 * help@hdfgroup.org. *
12 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
23 /*-------------------------------------------------------------------------
27 *-------------------------------------------------------------------------
30 H5_HLDLL herr_t H5TBmake_table( const char *table_title,
32 const char *dset_name,
36 const char *field_names[],
37 const size_t *field_offset,
38 const hid_t *field_types,
45 /*-------------------------------------------------------------------------
49 *-------------------------------------------------------------------------
52 H5_HLDLL herr_t H5TBappend_records( hid_t loc_id,
53 const char *dset_name,
56 const size_t *field_offset,
57 const size_t *dst_sizes,
60 H5_HLDLL herr_t H5TBwrite_records( hid_t loc_id,
61 const char *dset_name,
65 const size_t *field_offset,
66 const size_t *dst_sizes,
70 H5_HLDLL herr_t H5TBwrite_fields_name( hid_t loc_id,
71 const char *dset_name,
72 const char *field_names,
76 const size_t *field_offset,
77 const size_t *dst_sizes,
80 H5_HLDLL herr_t H5TBwrite_fields_index( hid_t loc_id,
81 const char *dset_name,
83 const int *field_index,
87 const size_t *field_offset,
88 const size_t *dst_sizes,
92 /*-------------------------------------------------------------------------
96 *-------------------------------------------------------------------------
101 H5_HLDLL herr_t H5TBread_table( hid_t loc_id,
102 const char *dset_name,
104 const size_t *dst_offset,
105 const size_t *dst_sizes,
109 H5_HLDLL herr_t H5TBread_fields_name( hid_t loc_id,
110 const char *dset_name,
111 const char *field_names,
115 const size_t *field_offset,
116 const size_t *dst_sizes,
119 H5_HLDLL herr_t H5TBread_fields_index( hid_t loc_id,
120 const char *dset_name,
122 const int *field_index,
126 const size_t *field_offset,
127 const size_t *dst_sizes,
131 H5_HLDLL herr_t H5TBread_records( hid_t loc_id,
132 const char *dset_name,
136 const size_t *dst_offset,
137 const size_t *dst_sizes,
140 /*-------------------------------------------------------------------------
144 *-------------------------------------------------------------------------
148 H5_HLDLL herr_t H5TBget_table_info ( hid_t loc_id,
149 const char *dset_name,
153 H5_HLDLL herr_t H5TBget_field_info( hid_t loc_id,
154 const char *dset_name,
157 size_t *field_offsets,
161 /*-------------------------------------------------------------------------
163 * Manipulation functions
165 *-------------------------------------------------------------------------
169 H5_HLDLL herr_t H5TBdelete_record( hid_t loc_id,
170 const char *dset_name,
175 H5_HLDLL herr_t H5TBinsert_record( hid_t loc_id,
176 const char *dset_name,
180 const size_t *dst_offset,
181 const size_t *dst_sizes,
184 H5_HLDLL herr_t H5TBadd_records_from( hid_t loc_id,
185 const char *dset_name1,
188 const char *dset_name2,
191 H5_HLDLL herr_t H5TBcombine_tables( hid_t loc_id1,
192 const char *dset_name1,
194 const char *dset_name2,
195 const char *dset_name3 );
197 H5_HLDLL herr_t H5TBinsert_field( hid_t loc_id,
198 const char *dset_name,
199 const char *field_name,
202 const void *fill_data,
205 H5_HLDLL herr_t H5TBdelete_field( hid_t loc_id,
206 const char *dset_name,
207 const char *field_name );
210 /*-------------------------------------------------------------------------
212 * Table attribute functions
214 *-------------------------------------------------------------------------
217 H5_HLDLL herr_t H5TBAget_title( hid_t loc_id,
220 H5_HLDLL htri_t H5TBAget_fill(hid_t loc_id,
221 const char *dset_name,
223 unsigned char *dst_buf);