[Back to Interface] [Prev] [Next]

GRfindattr/mgfndat

int32 GRfindattr(int32 [obj]_id, char *attr_name)

[obj]_id IN:

Raster image identifier (ri_id), returned by GRcreate or GRselect, or GR interface identifier (gr_id), returned by GRstart

attr_name IN:

Name of the attribute

Purpose

Finds the index of a data object's attribute given an attribute name.

Return value

Returns the index of the attribute if successful and FAIL (or -1) otherwise.

Description

GRfindattr returns the index of the attribute whose name is specified by the parameter attr_name for the object identified by the parameter obj_id.

FORTRAN

integer function mgfndat([obj]_id, attr_name)

integer [obj]_id

character*(*) attr_name



[Back to Interface] [Prev] [Next]

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