C: ref_num = Vgetnext(vgroup_id, vgroup_ref); FORTRAN: ref_num = vfgnxt(vgroup_id, vgroup_ref)
Vgetnext searches the vgroup with the identifier vgroup_id and returns the reference number of the vgroup or vdata following the vgroup with the reference number specified by the vgroup_ref parameter. To initiate the search, Vgetnext is called with vgroup_ref set to -1. This will return the reference number of the first object in the target vgroup. The value -1 is returned when an error occurs or when there are no more entities in the host vgroup.
1.10.2 Determining the Number of Members and Vgroup Name: Vinquire
The syntax for Vinquire is:
C: status = Vinquire(vgroup_id, n_members, vgroup_name); FORTRAN: status = vfinq(vgroup_id, n_members, vgroup_name)
Vinquire returns the number of data objects and the name of the vgroup specified by vgroup_id in the n_members and vgroup_name parameters respectively. If either n_members or vgroup_name are set to NULL, the corresponding data is not returned. The maximum length of the vgroup's name is defined by the macro VGNAMELENMAX.
TABLE 5L Vgetnext and Vinquire Parameter List