Release 10.1A: OpenEdge Development:
ADM Reference

> ## Source-file types

> Each ADM class is defined by a group of files. Some of the files define the base class as distributed with OpenEdge. Others—they have the substring “custom” in their names—are supplied as a convenience to you and stored in `src\adm2\custom`. Use those when you write custom extensions or modifications. By doing so, you reduce the risk of accidently destroying your work when you update your OpenEdge distribution.

> The naming convention for all files is: classname+filetype.extension. The classname portion can be spelled out in one filename but abbreviated in another within the same group, usually depending on total length. There is no convention for these abbreviations.

> The standard files and their roles are:

> - `classname.cld` — The class-definition file. It lists, in a comment, the class category, derivation, and the names of the class files.

> - `classname.i``,` `classnamecustom.i` — The primary and custom include-files. Unlike similar files in other languages such as C, these include-files sometimes have whole executable routines defined in them.

> - `classname.p``,` `classnamecustom.p` — The primary and custom super-procedure files. These files contain the source code for most of the routines that define the class.

> - `classnameprop.i``,` `classnamepropcustom.i` — The primary and custom property-definition files.

> - `classnameprto.i``,` `classnameprtocustom.i` — The primary and custom prototype files. These files contain prototype definitions for the routines in the super-procedure files (`IN SUPER`). Prototype definitions are not the same as `FORWARD` declarations.

> - `classname.w``` — The template file.

> - `classnameexclcustom.i` — The (custom) exclusions file. This file defines `EXCLUDE``-identifier` preprocessor variables that exclude routines from the super procedure.

> - `classnamedefscustom.i` — The (custom) instance-definitions file. This file deals with custom instance properties and defines the corresponding instance-property dialog box.

> For additional information, see OpenEdge Development: ADM and SmartObjects .

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095