[Back to Interface] [Prev] [Next]

ANatype2tag/afatypetag

uint16 ANatype2tag(ann_type *annot_type)

annot_type IN:

Type of the annotation

Purpose

Returns the annotation tag corresponding to an annotation type.

Return value

Returns the annotation tag (ann_tag) if successful, and DFTAG_NULL (or 0) otherwise.

Description

ANatype2tag returns the tag that corresponds to the annotation type specified by the parameter annot_type.

The following table lists the valid values of annot_type in the left column and the corresponding values for the returned annotation tag on the right.

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

FORTRAN

integer function afatypetag(annot_type)

integer annot_type



[Back to Interface] [Prev] [Next]

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