Module #02.03.01 : Inquiring element type and size, and content

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 inquiry functions dealing with
element type and size, and element content.

SEMANTIC REQUIREMENTS:


SR1. <Inquire current element type and size> returns the element type and size of the structure element pointed to by the element pointer.
#F 303
#D 7.3 4.2 4.3
#S 4.4.4/29/5
#T P02/1 P02/5

SR2. <Inquire current element type and size> returns NIL as the element type and 0 as the element size when the element pointer is 0.
#F 303
#D 7.3 4.2 4.3
#S 4.4.4/29/5
#T P02/9

SR3. <Inquire current element content> returns the values of the structure element data record associated with the structure element pointed to by the element pointer.
#F 304
#D 7.3 4.2 4.3
#S 4.4.4/29/5
#T P02/2 P02/6 P02/10 #C The Fortran binding specifies that for the NIL element
(position 0), all array sizes are zero.

SR4. <Inquire element type and size> returns the element type and size for the specified element.
#F 305
#D 7.1 7.3
#S 4.4.6/30/4
#T P01/3 P02/3 P02/7

SR5. <Inquire element type and size> returns NIL as the element type and 0 as the element size when the specified element position is 0.
#F 305
#D 7.1 7.3
#S 4.4.6/30/4
#T P01/1 P02/11

SR6. <Inquire element content> returns the values of the structure element data record associated with the specified structure element.
#F 306
#D 7.1 7.3
#S 4.4.6/30/4
#T P01/2 P01/4 P02/4 P02/8 P02/12 #C The NIL element (position 0) is treated the same as for
<inquire current element content>.
LOCAL DICTIONARY:

  Functions ---
  303: pqcets  <inquire current element type and size>
  304: pqceco  <inquire current element content>
  305: pqets   <inquire element type and size>
  306: pqeco   <inquire element content>
 
  Data Structures ---
  4  ...  phigs_state_list
  4.2  ...  name_of_open_structure
  4.3  ...  element_pointer
  7  ...  structure_state_list
  7.1  ...  structure_identifier
  7.3  ...  list_of_structure_elements
 



PROGRAM 1: Inquire element type and size, and content when a structure is closed

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


PROGRAM 2: Inquire element type and size, and content when a structure is open

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

End of documentation for 02.03.01