Module #02.01.01 : Individual structure creation

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 various methods available to
create a new empty structure in the CSS.  Structure creation via
retrieval from an archive is tested under 03.03.  This module's
test cases directly use <inquire structure identifiers>, which is
tested explicitly in 02.01.

SEMANTIC REQUIREMENTS:


SR1. <Open structure> for a non-existent structure creates a new empty structure.
#F 111
#D 7.1 4.5
#S 4.4.2/25/2 4.4.4/28/5
#T P01/2 P01/3
#X 02.02.01


SR2. <Empty structure> for a non-existent structure creates a new empty structure.
#F 125
#D 7.1 4.5
#S 4.4.2/25/2 4.4.4/29/4
#T P02/1 P02/2
#X 02.02.04


SR3. <Execute structure> for a non-existent structure creates a new empty structure.
#F 113
#D 7.1 4.5
#S 4.4.2/25/2
#T P03/1 P03/2

SR4. <Post structure> for a non-existent structure creates a new empty structure.
#F 132
#D 7.1 4.5
#S 4.4.2/25/2 4.4.3/25/5
#T P04/1 P04/2
#X 05.03


SR5. <Change structure identifier> causes a new empty structure to be created when the new structure identifier refers to a non-existent structure.
#F 129
#D 7.1 4.5
#S 4.4.2/25/2 4.4.5/30/1
#T P05/1 P05/2 P06/1 P06/2
#X 02.01.03.01


SR6. <Change structure references> causes a new empty structure to be created when the new structure identifier refers to a non-existent structure and references to the original structure exist.
#F 130
#D 7.1 4.5
#S 4.4.2/25/2
#T P07/1 P07/2
#X 02.01.03.02


SR7. <Change structure identifier and references> causes a new empty structure to be created when the new structure identifier refers to a non-existent structure.
#F 131
#D 7.1 4.5
#S 4.4.2/25/2 4.4.5/30/1
#T P08/1 P08/2 P09/1 P09/2
#X 02.01.03.03


SR8. Upon opening PHIGS the initial state of the CSS is empty, i.e. no structures exist.
#F 1
#D 7 4.5
#S 4.4.2/25/2 4.10/107/8 6.5/314/1
#T P01/1 P01/4

SR9. The CSS has the capacity to hold multiple structures.
#F 111 125 113 132 129 130 131 210
#D 7.1
#S 4.4.1/22/1 4.4.5/30/2 6.5/314/1
#T P10/1

SR10. Each structure contained in the CSS has a unique identifier.
#F 111 125 113 132 129 130 131
#D 7.1 4.5
#S 4.4.2/25/2
#T P10/1

LOCAL DICTIONARY:

  Functions ---
  001: popph   <open phigs>
  111: popst   <open structure>
  113: pexst   <execute structure>
  125: pemst   <empty structure>
  129: pcstid  <change structure identifier>
  130: pcstrf  <change structure references>
  131: pcstir  <change structure identifier and references>
  132: ppost   <post structure>
  210: pqsid   <inquire structure identifiers>
 
  Data Structures ---
  4  ...  phigs_state_list
  4.5  ...  list_of_structure_identifiers
  7  ...  structure_state_list
  7.1  ...  structure_identifier
 


PROGRAM 1: Structure creation by opening a non-existent structure

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


PROGRAM 2: Structure creation by emptying a non-existent structure

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


PROGRAM 3: Structure creation by executing a non-existent structure

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


PROGRAM 4: Structure creation by posting a non-existent structure

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


PROGRAM 5: Structure creation by changing the structure identifier to a different value

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


PROGRAM 6: Structure creation by changing the structure identifier to the same value

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


PROGRAM 7: Structure creation by changing structure references

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


PROGRAM 8: Structure creation by changing structure identifier and references to a different value

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


PROGRAM 9: Structure creation by changing structure identifier and references to the same value

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


PROGRAM 10: Multiple structure creation

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

End of documentation for 02.01.01