Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

H5P.get_link_creation_order

Query if link creation order is tracked

Syntax

crt_order_flags = H5P.get_link_creation_order(gcpl_id)

Description

crt_order_flags = H5P.get_link_creation_order(gcpl_id) queries whether link creation order is tracked or indexed in a group with creation property list identifier gcpl_id. The creation order flags should be one of the following constant values:

H5P_CRT_ORDER_TRACKED
H5P_CRT_ORDER_INDEXED

Examples

tracked = H5ML.get_constant_value('H5P_CRT_ORDER_TRACKED');
indexed = H5ML.get_constant_value('H5P_CRT_ORDER_INDEXED');
gcpl = H5P.create('H5P_GROUP_CREATE');
order = H5P.get_link_creation_order(gcpl);
if bitand(order,tracked)
    fprintf('order is tracked\n');
end
if bitand(order,indexed)
    fprintf('order is indexed\n');
end
Was this topic helpful?