MISR Toolkit  1.5.1
H5PTpublic.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 _H5PTpublic_H
15 #define _H5PTpublic_H
16 
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 /*-------------------------------------------------------------------------
23  * Create/Open/Close functions
24  *-------------------------------------------------------------------------
25  */
26 /* NOTE: H5PTcreate is replacing H5PTcreate_fl for better name due to the
27  removal of H5PTcreate_vl. H5PTcreate_fl may be retired in 1.8.19. */
28 H5_HLDLL hid_t H5PTcreate(hid_t loc_id, const char *dset_name,
29  hid_t dtype_id, hsize_t chunk_size, hid_t plist_id);
30 
31 H5_HLDLL hid_t H5PTopen(hid_t loc_id, const char *dset_name);
32 
33 H5_HLDLL herr_t H5PTclose(hid_t table_id);
34 
35 /* This function may be removed from the packet table in release 1.8.19. */
36 H5_HLDLL hid_t H5PTcreate_fl(hid_t loc_id, const char *dset_name,
37  hid_t dtype_id, hsize_t chunk_size, int compression);
38 
39 
40 /*-------------------------------------------------------------------------
41  * Write functions
42  *-------------------------------------------------------------------------
43  */
44 H5_HLDLL herr_t H5PTappend(hid_t table_id, size_t nrecords, const void *data);
45 
46 /*-------------------------------------------------------------------------
47  * Read functions
48  *-------------------------------------------------------------------------
49  */
50 H5_HLDLL herr_t H5PTget_next(hid_t table_id, size_t nrecords, void * data);
51 
53  size_t nrecords, void *data);
54 
55 /*-------------------------------------------------------------------------
56  * Inquiry functions
57  *-------------------------------------------------------------------------
58  */
59 H5_HLDLL herr_t H5PTget_num_packets(hid_t table_id, hsize_t *nrecords);
60 
62 
64 
65 /*-------------------------------------------------------------------------
66  *
67  * Accessor functions
68  *
69  *-------------------------------------------------------------------------
70  */
71 
73 
75 
76 /*-------------------------------------------------------------------------
77  *
78  * Packet Table "current index" functions
79  *
80  *-------------------------------------------------------------------------
81  */
82 
84 
86  hsize_t pt_index );
87 
89  hsize_t *pt_index );
90 
91 /*-------------------------------------------------------------------------
92  *
93  * Memory Management functions
94  *
95  *-------------------------------------------------------------------------
96  */
97 
99  size_t bufflen,
100  void * buff );
101 
102 #ifdef __cplusplus
103 }
104 #endif
105 
106 #endif
107 
H5_HLDLL herr_t H5PTis_varlen(hid_t table_id)
H5_HLDLL herr_t H5PTread_packets(hid_t table_id, hsize_t start, size_t nrecords, void *data)
int herr_t
Definition: H5public.h:124
H5_HLDLL herr_t H5PTset_index(hid_t table_id, hsize_t pt_index)
unsigned long long hsize_t
Definition: H5public.h:169
H5_HLDLL hid_t H5PTget_dataset(hid_t table_id)
H5_HLDLL herr_t H5PTget_next(hid_t table_id, size_t nrecords, void *data)
H5_HLDLL herr_t H5PTget_num_packets(hid_t table_id, hsize_t *nrecords)
H5_HLDLL herr_t H5PTis_valid(hid_t table_id)
H5_HLDLL herr_t H5PTcreate_index(hid_t table_id)
int hid_t
Definition: H5Ipublic.h:54
H5_HLDLL hid_t H5PTcreate_fl(hid_t loc_id, const char *dset_name, hid_t dtype_id, hsize_t chunk_size, int compression)
H5_HLDLL hid_t H5PTget_type(hid_t table_id)
HDFFCLIBAPI intf intf start[]
HDFFCLIBAPI void * data
#define H5_HLDLL
Definition: H5api_adpt.h:264
H5_HLDLL herr_t H5PTappend(hid_t table_id, size_t nrecords, const void *data)
H5_HLDLL hid_t H5PTopen(hid_t loc_id, const char *dset_name)
H5_HLDLL herr_t H5PTfree_vlen_buff(hid_t table_id, size_t bufflen, void *buff)
H5_HLDLL herr_t H5PTget_index(hid_t table_id, hsize_t *pt_index)
H5_HLDLL hid_t H5PTcreate(hid_t loc_id, const char *dset_name, hid_t dtype_id, hsize_t chunk_size, hid_t plist_id)
H5_HLDLL herr_t H5PTclose(hid_t table_id)

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