MISR Toolkit  1.5.1
H5TBpublic.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
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  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 #ifndef _H5TBpublic_H
15 #define _H5TBpublic_H
16 
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 
23 /*-------------------------------------------------------------------------
24  *
25  * Create functions
26  *
27  *-------------------------------------------------------------------------
28  */
29 
30 H5_HLDLL herr_t H5TBmake_table( const char *table_title,
31  hid_t loc_id,
32  const char *dset_name,
33  hsize_t nfields,
34  hsize_t nrecords,
35  size_t type_size,
36  const char *field_names[],
37  const size_t *field_offset,
38  const hid_t *field_types,
39  hsize_t chunk_size,
40  void *fill_data,
41  int compress,
42  const void *buf );
43 
44 
45 /*-------------------------------------------------------------------------
46  *
47  * Write functions
48  *
49  *-------------------------------------------------------------------------
50  */
51 
53  const char *dset_name,
54  hsize_t nrecords,
55  size_t type_size,
56  const size_t *field_offset,
57  const size_t *dst_sizes,
58  const void *buf );
59 
61  const char *dset_name,
62  hsize_t start,
63  hsize_t nrecords,
64  size_t type_size,
65  const size_t *field_offset,
66  const size_t *dst_sizes,
67  const void *buf );
68 
69 
71  const char *dset_name,
72  const char *field_names,
73  hsize_t start,
74  hsize_t nrecords,
75  size_t type_size,
76  const size_t *field_offset,
77  const size_t *dst_sizes,
78  const void *buf );
79 
81  const char *dset_name,
82  hsize_t nfields,
83  const int *field_index,
84  hsize_t start,
85  hsize_t nrecords,
86  size_t type_size,
87  const size_t *field_offset,
88  const size_t *dst_sizes,
89  const void *buf );
90 
91 
92 /*-------------------------------------------------------------------------
93  *
94  * Read functions
95  *
96  *-------------------------------------------------------------------------
97  */
98 
99 
100 
102  const char *dset_name,
103  size_t dst_size,
104  const size_t *dst_offset,
105  const size_t *dst_sizes,
106  void *dst_buf );
107 
108 
110  const char *dset_name,
111  const char *field_names,
112  hsize_t start,
113  hsize_t nrecords,
114  size_t type_size,
115  const size_t *field_offset,
116  const size_t *dst_sizes,
117  void *buf );
118 
120  const char *dset_name,
121  hsize_t nfields,
122  const int *field_index,
123  hsize_t start,
124  hsize_t nrecords,
125  size_t type_size,
126  const size_t *field_offset,
127  const size_t *dst_sizes,
128  void *buf );
129 
130 
132  const char *dset_name,
133  hsize_t start,
134  hsize_t nrecords,
135  size_t type_size,
136  const size_t *dst_offset,
137  const size_t *dst_sizes,
138  void *buf );
139 
140 /*-------------------------------------------------------------------------
141  *
142  * Inquiry functions
143  *
144  *-------------------------------------------------------------------------
145  */
146 
147 
149  const char *dset_name,
150  hsize_t *nfields,
151  hsize_t *nrecords );
152 
154  const char *dset_name,
155  char *field_names[],
156  size_t *field_sizes,
157  size_t *field_offsets,
158  size_t *type_size );
159 
160 
161 /*-------------------------------------------------------------------------
162  *
163  * Manipulation functions
164  *
165  *-------------------------------------------------------------------------
166  */
167 
168 
170  const char *dset_name,
171  hsize_t start,
172  hsize_t nrecords );
173 
174 
176  const char *dset_name,
177  hsize_t start,
178  hsize_t nrecords,
179  size_t dst_size,
180  const size_t *dst_offset,
181  const size_t *dst_sizes,
182  void *buf );
183 
185  const char *dset_name1,
186  hsize_t start1,
187  hsize_t nrecords,
188  const char *dset_name2,
189  hsize_t start2 );
190 
192  const char *dset_name1,
193  hid_t loc_id2,
194  const char *dset_name2,
195  const char *dset_name3 );
196 
198  const char *dset_name,
199  const char *field_name,
200  hid_t field_type,
201  hsize_t position,
202  const void *fill_data,
203  const void *buf );
204 
206  const char *dset_name,
207  const char *field_name );
208 
209 
210 /*-------------------------------------------------------------------------
211  *
212  * Table attribute functions
213  *
214  *-------------------------------------------------------------------------
215  */
216 
218  char *table_title );
219 
221  const char *dset_name,
222  hid_t dset_id,
223  unsigned char *dst_buf);
224 
225 #ifdef __cplusplus
226 }
227 #endif
228 
229 
230 #endif
231 
H5_HLDLL herr_t H5TBwrite_fields_name(hid_t loc_id, const char *dset_name, const char *field_names, hsize_t start, hsize_t nrecords, size_t type_size, const size_t *field_offset, const size_t *dst_sizes, const void *buf)
H5_HLDLL herr_t H5TBwrite_records(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 *dst_sizes, const void *buf)
H5_HLDLL htri_t H5TBAget_fill(hid_t loc_id, const char *dset_name, hid_t dset_id, unsigned char *dst_buf)
H5_HLDLL herr_t H5TBAget_title(hid_t loc_id, char *table_title)
int herr_t
Definition: H5public.h:124
H5_HLDLL herr_t H5TBcombine_tables(hid_t loc_id1, const char *dset_name1, hid_t loc_id2, const char *dset_name2, const char *dset_name3)
unsigned long long hsize_t
Definition: H5public.h:169
H5_HLDLL herr_t H5TBwrite_fields_index(hid_t loc_id, const char *dset_name, hsize_t nfields, const int *field_index, hsize_t start, hsize_t nrecords, size_t type_size, const size_t *field_offset, const size_t *dst_sizes, const void *buf)
H5_HLDLL herr_t H5TBread_fields_index(hid_t loc_id, const char *dset_name, hsize_t nfields, const int *field_index, hsize_t start, hsize_t nrecords, size_t type_size, const size_t *field_offset, const size_t *dst_sizes, void *buf)
HDFFCLIBAPI _fcd intf intf intf * compress
H5_HLDLL herr_t H5TBinsert_field(hid_t loc_id, const char *dset_name, const char *field_name, hid_t field_type, hsize_t position, const void *fill_data, const void *buf)
H5_HLDLL herr_t H5TBinsert_record(hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords, size_t dst_size, const size_t *dst_offset, const size_t *dst_sizes, void *buf)
H5_HLDLL herr_t H5TBdelete_record(hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords)
H5_HLDLL herr_t H5TBappend_records(hid_t loc_id, const char *dset_name, hsize_t nrecords, size_t type_size, const size_t *field_offset, const size_t *dst_sizes, const void *buf)
H5_HLDLL herr_t H5TBdelete_field(hid_t loc_id, const char *dset_name, const char *field_name)
int hid_t
Definition: H5Ipublic.h:54
H5_HLDLL herr_t H5TBget_field_info(hid_t loc_id, const char *dset_name, char *field_names[], size_t *field_sizes, size_t *field_offsets, size_t *type_size)
H5_HLDLL herr_t H5TBread_fields_name(hid_t loc_id, const char *dset_name, const char *field_names, hsize_t start, hsize_t nrecords, size_t type_size, const size_t *field_offset, const size_t *dst_sizes, void *buf)
H5_HLDLL herr_t H5TBadd_records_from(hid_t loc_id, const char *dset_name1, hsize_t start1, hsize_t nrecords, const char *dset_name2, hsize_t start2)
H5_HLDLL herr_t H5TBget_table_info(hid_t loc_id, const char *dset_name, hsize_t *nfields, hsize_t *nrecords)
HDFFCLIBAPI intf intf start[]
H5_HLDLL herr_t H5TBread_table(hid_t loc_id, const char *dset_name, size_t dst_size, const size_t *dst_offset, const size_t *dst_sizes, void *dst_buf)
#define H5_HLDLL
Definition: H5api_adpt.h:264
H5_HLDLL herr_t H5TBread_records(hid_t loc_id, const char *dset_name, hsize_t start, hsize_t nrecords, size_t type_size, const size_t *dst_offset, const size_t *dst_sizes, void *buf)
H5_HLDLL herr_t H5TBmake_table(const char *table_title, hid_t loc_id, const char *dset_name, hsize_t nfields, hsize_t nrecords, size_t type_size, const char *field_names[], const size_t *field_offset, const hid_t *field_types, hsize_t chunk_size, void *fill_data, int compress, const void *buf)
int htri_t
Definition: H5public.h:143
HDFFCLIBAPI intf * buf

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53