Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF5 2.0.0.258fa78
API Reference
Loading...
Searching...
No Matches
H5PTpublic.h File Reference

Functions

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)
 Creates a packet table to store fixed-length or variable-length packets.
 
H5_HLDLL hid_t H5PTopen (hid_t loc_id, const char *dset_name)
 Opens an existing packet table.
 
H5_HLDLL herr_t H5PTclose (hid_t table_id)
 Closes an open packet table.
 
H5_HLDLL hid_t H5PTcreate_fl (hid_t loc_id, const char *dset_name, hid_t dtype_id, hsize_t chunk_size, int compression)
 Creates a packet table to store fixed-length packets.
 
H5_HLDLL herr_t H5PTappend (hid_t table_id, size_t nrecords, const void *data)
 Appends packets to the end of a packet table.
 
H5_HLDLL herr_t H5PTget_next (hid_t table_id, size_t nrecords, void *data)
 Reads packets from a packet table starting at the current index.
 
H5_HLDLL herr_t H5PTread_packets (hid_t table_id, hsize_t start, size_t nrecords, void *data)
 Reads a number of packets from a packet table.
 
H5_HLDLL herr_t H5PTget_num_packets (hid_t table_id, hsize_t *nrecords)
 Returns the number of packets in a packet table.
 
H5_HLDLL herr_t H5PTis_valid (hid_t table_id)
 Determines whether an identifier points to a packet table.
 
H5_HLDLL herr_t H5PTis_varlen (hid_t table_id)
 Determines whether a packet table contains variable-length or fixed-length packets.
 
H5_HLDLL hid_t H5PTget_dataset (hid_t table_id)
 Returns the backend dataset of this packet table.
 
H5_HLDLL hid_t H5PTget_type (hid_t table_id)
 Returns the backend datatype of this packet table.
 
H5_HLDLL herr_t H5PTcreate_index (hid_t table_id)
 Resets a packet table's index to the first packet.
 
H5_HLDLL herr_t H5PTset_index (hid_t table_id, hsize_t pt_index)
 Sets a packet table's index.
 
H5_HLDLL herr_t H5PTget_index (hid_t table_id, hsize_t *pt_index)
 Gets the current record index for a packet table.
 
H5_HLDLL herr_t H5PTfree_vlen_buff (hid_t table_id, size_t bufflen, void *buff)
 Releases memory allocated in the process of reading variable-length packets.