next up previous contents
Next: Data Access Up: Users View of Previous: File Representation

Primitive Data, Classes & Aggregates

ADI data objects can be divided into three groups. The first group are the primitive data objects. All the primitive HDS types are supported and have the same names (_UBYTE, _REAL etc), but character strings are of variable length and are known simply by the name _CHAR. Primitive objects are not instances of a class. This means that you cannot place the name of a primitive type in a class inheritance list.

The second data group are instances of ADI classes. A class instance is a collection of data objects of three forms,

Class data members and property values can be either primitive data or class instances. There is no limit to the numbers of any of these data members, other than those imposed by the process quotas. The ADI header data is not really for use by applications and no routines are provided for its direct manipulation.

The third data group are the aggregates. The most useful aggregate is the array (not to be confused with the Array class). Arrays may consist of any primitive type or class instances. Two other aggregates are lists and hash tables. The system is flexible enough to allow the creation of third party data aggregates (eg. bags or sets) and the specification of the rules for creating and disposing of their contents.



next up previous contents
Next: Data Access Up: Users View of Previous: File Representation



Web Master
Wed Oct 8 09:22:23 BST 1997