ElementStructure


superclasses:

Tuple

attributes:

instancePrimitive PrimitiveInstanceType

[elementsPerValue] Integer

defaults:

elementsPerValue : 1

constraints:

All instancePrimitives beginning with 'integer', 'real' or 'boolean' must have the elementsPerValue defaulted to 1.

comments:

This subclass is provided to describe data structures similar to those defined in a third generation programming language data declaration statement. For example the word 'test' expressed as a character string would be described as having an instancePrimitive value of String and an elementsPerValue value of 4. The expression '123' may be described by defining instancePrimitive as Integer8 and elementsPerValue as 1. If '123' were to be stored as a two byte integer, then the two corresponding values would be Integer16 and 1, respectively, i.e., one Integer 16 primitive represents one value.


Links to Section 3.7 and the complete SAIF class list