ddn.lib.hdf5.hl.h5pt

HDF5 High-Level Packet Table Interface Binding

This module provides D bindings for HDF5 Packet Table operations (H5PT API). The Packet Table API provides functions for managing HDF5 packet table objects, which are optimized for appending and reading packets of data.

License

BSD-3-Clause

Functions 16

fnhid_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
fnhid_t H5PTcreate_fl(hid_t loc_id, const char * dset_name, hid_t dtype_id, hsize_t chunk_size, int compression)Creates a fixed-length packet table (deprecated, use H5PTcreate)
fnhid_t H5PTopen(hid_t loc_id, const char * dset_name)Opens an existing packet table
fnherr_t H5PTclose(hid_t table_id)Closes a packet table
fnherr_t H5PTappend(hid_t table_id, size_t nrecords, const void * data)Appends packets to a packet table
fnherr_t H5PTread_packets(hid_t table_id, hsize_t start, size_t nrecords, void * data)Reads packets from a packet table
fnherr_t H5PTget_next(hid_t table_id, size_t nrecords, void * data)Reads the next packets from a packet table
fnherr_t H5PTget_num_packets(hid_t table_id, hsize_t * nrecords)Gets the number of packets in a packet table
fnherr_t H5PTis_valid(hid_t table_id)Determines if an identifier is a packet table
fnherr_t H5PTis_varlen(hid_t table_id)Determines if a packet table uses variable-length datatype
fnhid_t H5PTget_type(hid_t table_id)Gets the datatype used by a packet table
fnherr_t H5PTcreate_index(hid_t table_id)Resets packet table index to the first packet
fnherr_t H5PTset_index(hid_t table_id, hsize_t pt_index)Sets the packet table index
fnherr_t H5PTget_index(hid_t table_id, hsize_t * pt_index)Gets the current packet table index
fnherr_t H5PTfree_vlen_buff(hid_t table_id, size_t bufflen, void * buff)Frees memory used by variable-length data read from a packet table
fnhid_t H5PTget_dataset(hid_t table_id)Gets the dataset identifier for a packet table.