Module #02.02.05 : Copy all elements from structure

All PVT documentation can be found under PHIGS Validation Tests - Overview. You may also return to the hierarchical table of topics covered by the PVT. For an explanation of the format of the individual module documentation, please see section 2.5 of the User's Guide.


DESCRIPTION: This module tests the ability of the programmer to
copy all elements from a specified structure into an open
structure using the function <copy all elements from structure>.

SEMANTIC REQUIREMENTS:


SR1. <Copy all elements from structure> copies all elements of a specified structure into an open structure after the `element pointer' regardless of the `edit mode.'
#F 118
#D 7.1 7.3 4.3
#S 4.4.4/29/2
#T P01/3 P01/5 P01/7 P01/9

SR2. If the specified structure in <copy all elements from structure> is the open structure, its contents are copied into itself after the `element pointer.'
#F 118
#D 7.1 7.3 4.3
#S 4.4.4/29/2
#T P01/11

SR3. After <copy all elements from structure>, the `element pointer' is updated to point to the last element that was copied.
#F 118
#D 7.3 4.3
#S 4.4.4/29/2
#T P01/4 P01/6 P01/8 P01/10 P01/12

SR4. If the specified structure in <copy all elements from structure> is empty or nonexistent, no action takes place.
#F 118
#D 7.1 7.3
#S 4.4.4/29/2
#T P01/1 P01/2

LOCAL DICTIONARY:

  Functions ---
  118: pcelst  <copy all elements from structure>
 
  Data Structures ---
  4  ...  phigs_state_list
  4.3  ...  element_pointer
  7  ...  structure_state_list
  7.1  ...  structure_identifier
  7.3  ...  list_of_structure_elements
 


PROGRAM 1: Copy all elements from structure

You may inspect either the design or code for this program.

End of documentation for 02.02.05