Getting Information About a Vdata
Functions to Obtain Information About a Vdata
Following are a number of functions, some of which have already been discussed, which you can use to obtain information regarding a Vdata:
VSinquire (vsfinq)
-- get information about a Vdata.
VSgetclass (vsfgcls)
-- get the class of the Vdata.
VSfexist (vsfex)
-- test if specified fields exist in a Vdata.
VFnfields (vfnflds)
-- get total number of fields in a Vdata.
VFfieldname (vffname)
-- get name of the
i
th field
VFfieldorder (vffordr)
-- get order of the
i
th field
VFfieldtype (vfftype)
-- get data type of the
i
th field
VFfieldesize (vffesiz)
-- get the machine size of the
i
th field
VFfieldisize (vffisiz)
-- get the size (in HDF file) of the
i
th field
VSnattrs (vsfnats)
-- get the total number of attributes assigned to a Vdata and its fields.
VSfnattrs (vsffnas)
-- get the number of attributes assigned to a Vdata or a field of the Vdata.
VSfindattr (vsffdat)
-- given its name, get the index of an attribute assigned to a Vdata or a field of the Vdata.
VSattrinfo (vsfainf)
-- get the name, data type, count and machine size of the
i
th attribute of the Vdata or a field.