[Top]
[Prev]
[Next]
[Bottom]
VSfnattrs/vsffnas
int32 VSfnattrs (int32
vdata_id
, int32
field_attrs
)
vdata_id
IN:
Vdata identifier returned by
Vattach
field_attrs
OUT:
Index of the target field
Purpose
Returns the number of attributes attached to the specified vdata field
or
the number of attributes attached to the vdata identified by
vdata_id
.
Return value
Returns the number of attributes assigned to this vdata or its fields when successful, and FAIL (or -1) otherwise.
Description
This routine is different from the
VSnattrs
routine, which returns the number of attributes of the specified vdata
and
the fields contained in it.
If
field_index
is set to _HDF_ENTIRE_VDATA, the number of attributes attached to the vdata referred to by the value of
vdata_id
is returned. When using the Fortran-77 version of this routine, specify a
field_index
value of -1 to return the number of vdata attributes.
As with
VSsetattr
, if
field_index
is set to a zero-based integer value, it will be used as the index of the target vdata field, and the attributes attached to that field will be returned.
FORTRAN
integer function vsffnas(vdata_id, field_index)
integer vdata_id, field_index
[Top]
[Prev]
[Next]
[Bottom]
hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.