Previous: , Up: Record Library   [Index]


7.19.5 Record Library Data Type Introduction

The data types allowed for records content data are described as struct x1f4_nodetype_type records.

See struct x1f4_nodetype_type.

Examples of such definitions are included in the programming language interpreters introductory chapter.

See Simple Referable Data Type Examples.

See Complex Referable Data Type Example.

The list of the allowed data types is to be supplied to the constructor of the record library objects.

See x1f4_init_lxline.

See struct x1f4_lxline_type.

For the data types provided by the libaime libraries the struct x1f4_nodetype_type definitions may be assembled by the application or may be obtained from the library objects providing them.

See x1f4_type_lxline.

The (struct x1f4_nodetype_type) data type definitions may require a data type provider hint, i.e. an address for the provider definition to be supplied the methods (in the struct x1f4_nodetype_type record) implementing the data type.

For the data types provided by the libaime library objects (like the file library objects or the record library objects) the data type provider is the very library object.

It may well be that the data type provider is not available when constructing the record library - if the ‘record’ data type is allowed for record content the provider will definitely not be available since it is the very record library object to be constructed.

For such eventualities, the data type provider may be set after the record library object is constructed. It must be set before it is used, i.e. before starting interpreting programs.

See x1f4_cfix_lxline.