Syntax
[C/C++:]
void gEnqSavdraSegList(GFILE *fp, int list[], int n, int *count);
[F90:]
subroutine gEnqSavdraSegList(unit, list, n, count)
integer, intent(in) :: unit,n
integer, intent(out) :: list(*),count
Arguments
fp
GINO-C file pointer
unit
Fortran 90 File unit
list
Integer array returning segment identifiers
n
Number of segment identifiers to return
|
= 0, |
Nothing returned in list |
count
Number of segment identifiers contained in the metafile
Description
The routine gEnqSavdraSegList() returns a list of segments contained in the opened SAVDRA metafile. The complete metafile is scanned but no graphical information is interpreted.
The metafile should be opened prior to calling this routine using the function gFopen(), with the file pointer or unit number passed as appropriate.
The array
list should be declared of length
n, and no more than that number of identifiers are returned. The argument
count returns the actual number of segment identifiers contained in the file even if this number is greater then
n. If
count = 0 then the metafile only contains information in segment zero.
If
n is less than or equal to zero, no numbers are returned in
list. If
n is less than zero, a warning message is output.
See Also
gEnqSavdraSegList UsagegEnqSavdraSegAttribs