[Back to Interface] [Prev] [Next]

ANtag2atype/aftagatype

ann_type ANtag2atype(uint16 ann_tag)

ann_tag IN:

Tag of the annotation

Purpose

Returns the annotation type corresponding to an annotation tag.

Return value

Returns the annotation type if successful or AN_UNDEF (or -1) otherwise.

Description

ANtag2atype returns the annotation type that corresponds to the annotation tag specified by the parameter ann_tag.

The following table lists the valid values of ann_tag in the left column and the corresponding values of the returned annotation type in the right column.

Annotation Tag
Annotation Type
DFTAG_DIL (or 104) AN_DATA_LABEL (or 0)
DFTAG_DIA (or 105) AN_DATA_DESC (or 1)
DFTAG_FID (or 100) AN_FILE_LABEL (or 2)
DFTAG_FD (or 101) AN_FILE_DESC (or 3)

FORTRAN

integer function aftagatype(ann_tag)

integer ann_tag



[Back to Interface] [Prev] [Next]

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 07/29/98, NCSA HDF Development Group.