PDL (Public Definition Language) is a separate program that performs the same function as the Public Definition Language (PDL) emitter used with the SOM Compiler. That emitter generates a copy of an .IDL file that has had the portions designated as private removed. The file generated is the same as the .IDL file from which it is produced, except that it removes all items within the .IDL file that are marked as "private." An item is marked as private by surrounding it with #ifdef __PRIVATE__ and #endif directives. Thus, the PDL emitter can be used to generate a "public" version of an .IDL file. (Generally, client programs will need only the "public" methods and attributes.)

The PDL program can be invoked independently of the SOM Compiler. In addition, the PDL program can remove any kind of items in the .IDL file that are preceded by a user-specified #ifdef directive and followed by an #endif directive.

The PDL program is invoked as follows:

PDL [-c] [-d] [-f] [-h] [-s] [-/] files

where: