Sets a packet table's index.
Procedure:
H5PT_SET_INDEX(table_id, index)
Signature:
herr_t H5PTset_index(hid_t table_id, hsize_t pt_index)
Parameters:
hid_t table_id
IN: Identifier of packet table whose index is to be set.
hsize_t index
IN: The packet to which the index should point.
Description:
Each packet table keeps an index of the "current" packet so that get_next can iterate through the packets in order. H5PTset_index sets this index to point to a user-specified packet (the packets are zero-indexed).
Returns:
Returns a non-negative value if successful, otherwise returns a negative value.
Example:
--- Last Modified: December 04, 2017 | 07:24 AM