pexec_struct(3g) — Subroutines
Name
pexec_struct − Specifies the structure identifier of the structure to be executed.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
void pexec_struct (
Pint struct_id /∗ (I) Structure identifier ∗/
)
Description
pexec_struct specifies the structure identifier of the structure to be executed.
Depending on the current edit mode, this function either inserts the new structure directly after the element indicated by the pointer or replaces the element indicated by the pointer. The element pointer then points to the new execute structure element. If the specified structure does not exist, the function creates a new empty structure.
When Digital PHIGS encounters an execute structure element during structure traversal, it performs the following actions:
1Suspends traversal of the current structure.
2Saves the current state of the PHIGS traversal state list.
3Traverses the executed structure network.
4Restores the saved PHIGS traversal state list values.
5Resumes traversal of the current structure.
If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element.
See Also
pchange_struct_id_refs
pchange_struct_refs
pe_cond_exec_struct
pe_cond_incl_struct
pe_cond_return
pe_cond_skip_elems
pe_cond_skip_label
pdel_struct_net
pe_incl_struct
pinq_paths_ances
pinq_paths_descs
ppost_struct