This function retrieves the total number of the four kinds of annotations and stores them in the appropriate parameters. Note that the numbers of data labels and descriptions refer to the total number of data labels and data descriptions in the file, not for a specific object. Use HDF_AN_NUMANN to determine these numbers for a specific object. This function is generally used to find the range of acceptable indices for HDF_AN_SELECT calls.
Syntax
Result = HDF_AN_FILEINFO(Annotation_id, n_file_labels, n_file_descs, n_data_labels, n_data_descs)
Return Value
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
Arguments
Annotation_id
HDF AN interface identifier returned by HDF_AN_START.
n_file_labels
A named variable that will contain the number of file labels.
n_file_descs
A named variable that will contain the number of file descriptions.
n_data_labels
A named variable that will contain the total number of data labels of all data objects in the file.
n_data_descs
A named variable that will contain the total number of data descriptions of all data objects in the file.
Keywords
None
Version History