Previous: , Up: Index Library   [Index]


7.29.5 Index Library Data Type Introduction

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

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 index library objects.

See x1f4_init_lxdash.

See struct x1f4_lxdash_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_lxdash.

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 index) implementing the data type.

For the data types provided by the libaime library objects (like the file library objects or the index 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 index library - if the ‘index’ data type is allowed for index content the provider will definitely not be available since it is the very index library object to be constructed.

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

See x1f4_cfix_lxdash.