void pexec_struct(
Pint struct_id /* structure identifier */
)
An EXECUTE STRUCTURE element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the EXECUTE STRUCTURE element. The value specified by struct_id is associated with the element.
Execution of the EXECUTE STRUCTURE element during a traversal has the following effect:
1) Suspending execution of the current structure.
2) Saving the current values of the primitive attributes, view index local and global transformations, names sets, modelling clipping and clipping indicator limits.
3) Executing a traversal of the structure defined by struct_id ; this can itself call another structure.
4) Restoring saved states.
5) Continuing current structure execution.
If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.
In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened. If the structure exists it is traversed immediately. This allows application to work in combined mode: NON RETAINED STRUCTURES call STANDARD STRUCTURES.
open structure, open pipe (ext), inquire current element content, inquire current element type and size