The HDF_VG_SETINFO procedure sets the name and class of a VGroup.
Examples
fid = HDF_OPEN('demo.hdf',/RDWR)
vgid = HDF_VG_ATTACH(fid, -1, /WRITE)
HDF_VG_SETINFO, vgid, NAME='My Name', CLASS='My VGroup Class'
HDF_VG_GETINFO, vgid, NAME=outname, CLASS=outclass
HELP, outname, outclass
HDF_VG_DETACH, vgid
HDF_CLOSE, fid
IDL Output
OUTNAME STRING = 'My Name'
OUTCLASS STRING = 'My VGroup Class'
Syntax
HDF_VG_SETINFO, VGroup [, CLASS=string] [, NAME=string]
Arguments
VGroup
The VGroup handle as returned by HDF_VG _ATTACH.
Keywords
CLASS
A string containing the class name for the VGroup.
NAME
A string containing the name for the VGroup.
Version History
See Also
HDF_VG_GETINFO