DESCRIPTION: This module tests the deletion of individual structures using the <delete structure> function. The state of the CSS is examined for the changes which occur when the individual structures are removed. The effect that <delete structure> has on the list of posted structures is also tested. SEMANTIC REQUIREMENTS:#F 126
SR1. <Delete structure> causes the removal of a specified, closed structure in the CSS.
#F 126
SR2. <Delete structure> causes the deletion of all references to that structure contained in other structures.
#F 126
SR3. <Delete structure> using a non-existent structure identifier has no effect on the contents of the CSS.
#F 126
SR4. <Delete structure> causes the specified structure to become unposted from the workstations to which it is posted.
#F 126
SR5. <Delete structure> with the structure identifier referencing an open structure causes the structure to exist as an open, empty structure in the CSS.
#F 126
SR6. If references to a deleted structure exist in the open structure and none of them is the current element, then, after they are deleted, the element pointer still points to the same element as before. If the element pointer was zero, it remains at zero.
#F 126
SR7. If references to a deleted structure exist in the open structure and one of them is the current element, then, after they are deleted, the element pointer is altered to point to the last preceding element, or to zero if there is no such element.
LOCAL DICTIONARY:
Functions --- 126: pdst <delete structure> Data Structures --- 4 ... phigs_state_list 4.2 ... name_of_open_structure 4.3 ... element_pointer 4.5 ... list_of_structure_identifiers 5 ... workstation_state_list 5.7 ... list_of_posted_structures 7 ... structure_state_list 7.1 ... structure_identifier 7.3 ... list_of_structure_elements 7.3.4 ... execute_structure
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.