gdmCreateSpecList
gdmCreateSpecList( ) =>q_gdmSpecList/nil
Description
Creates a gdmSpecList object, where you can add gdmSpec objects later with the gdmAddSpecToSpecList function.
Arguments
Value Returned
Examples
You can traverse a gdmSpecList object in the following way:
specList = gdmCreateSpecList()
spec = gdmCreateSpec( "mylib" "topcell" "schematic" nil "CDBA" )
gdmAddSpecToSpecList( spec specList )
gdmResetSpecList( specList )
while( nextSpec = gdmNextFromSpecList( specList )
println( gdmInspectSpec( nextSpec "CDBA" ))
)
Additional Information
To traverse the gdmSpecList object:
-
Reset the list by using the
gdmResetSpecListfunction. -
Get gdmSpec objects by using the
gdmNextFromSpecListfunction. The first time you call this function, it returns the first gdmSpec object from the gdmSpecList. Each successive call returns the next gdmSpec object from the gdmSpecList.
Return to top