Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - HDF / HDF_VG_SETINFO

HDF_VG_SETINFO

HDF_VG_SETINFO

The HDF_VG_SETINFO procedure sets the name and class of a VGroup.

Examples


fid = HDF_OPEN('demo.hdf',/RDWR) ; Open an HDF file:
vgid = HDF_VG_ATTACH(fid, -1, /WRITE) ; Add a new VGroup:
; Set the name and class for the VGroup:
HDF_VG_SETINFO, vgid, NAME='My Name', CLASS='My VGroup Class'
; Retrieve the name and class information from the file:
HDF_VG_GETINFO, vgid, NAME=outname, CLASS=outclass
; Print information about the returned variables:
HELP, outname, outclass
; End VGroup access:
HDF_VG_DETACH, vgid
; Close the HDF file:
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


4.0

Introduced

See Also


HDF_VG_GETINFO

 



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us