GDL Templates

GDL templates provide a way for the parser to validate GDL entries. Each entry can be associated with a particular template.

GDL provides a standard template that you can extend by adding new templates. The standard template defines all of the attributes and constructs that are known to the operating system.

The relationship between templates is defined by inheritance.

The GDL parser associates every data entry in a GDL file with a template. If a data entry is a construct, the template specifies in an indirect manner all of the members that can appear within that construct. This association is applied recursively so that every data entry can have a template associated with it. Templates use specific criteria to define how the template relates to the data, and specific data types are used for templates.

GDL uses specific directives for templates.