When you contribute a new class or new functions to an existing class in DPCL, it is important that you also contribute documentation for the additions you have supplied. The DPCL Project has two HTML-formatted "books" (the DPCL Class Reference and the DPCL Programming Guide) that document the class library. The DPCL Class Reference provides detailed, alphebetically-ordered information about each DPCL function, while the DPCL Programming Guide provides task-oriented instructions on building analysis tools on top of DPCL. To document your contributions to DPCL, you will need to:
Each class in the DPCL Class Reference is documented in a separate "Chapter"/HTML file. To save a copy of the file:
Doing this opens a standard Save File dialog.
When documenting your contributions to the DPCL project, take care that your documentation is consistent with the existing documentation. Since you are using an existing file as a base, this should be easy. Take care that you do not change the heading levels (<H1>, <H2>, <H3>, etc), and also use highlighting consistent with the rest of the book. The DPCL Class Reference uses the following highlighting conventions.
Convention | Usage |
---|---|
bold (<B></B>) | Bold words or characters represent system elements that you must use literally, such as: function names, file names, flag names, path names, etc. |
italic (<I></I>) | Italicized words or characters represent variable values that
you must supply.
Italics are also used for book titles and for general emphasis in text. |
constant width (<TT></TT>) | Examples and information that the system displays appear in constant-width typeface. |
The DPCL Programming Guide provides both conceptual and task-oriented information on the various classes/functions of DPCL. To create the information to be inserted into this HTML-formatted "book", you should first of all familiarize yourself with the existing book. By familiarizing yourself with the way it presents information, you will be able to more easily create documentation for your contribution that matches the book's tone and approach. Once you are familiar with the existing book, you can:
The chapter "What are the DPCL Classes?" in the DPCL Programming Guide provides conceptual information for each of the DPCL classes in turn. Each class description ends with a quick-reference table summarizing all of the functions in the class. Here is a partial outline of the chapter. Notice that cases where there are several classes that are similar or related (such as the ProbeExp, ProbeHandle, and ProbeModule classes), they are grouped under the same section in the chapter, while other classes (such as the Phase class) appear in their own section.
To save a copy of the HTML file that contains the section:
Doing this opens a standard Save File dialog.
If your are contributing: | Then: |
---|---|
Several related classes | Modify one of the existing sections of the chapter that describe two or more related or similar classes (such as the section "What are the Process, Application, and PoeAppl classes?" or the section "What are the SourceObj and InstPoint classes?") |
a single new class | Modify one of the existing sections of the chapter that similarly describe a single class (such as the section "What is the Phase class?" or the section "What is the AisStatus class?") |
new functions for an existing DPCL class | Modify the section that documents the class for which you are contributing new functions. You will likely only need to modify the quick-reference table that summarizes the function in a class. |
When making additions to the DPCL Programming Guide, take care that your documentation is consistent with the existing documentation. Since you are using the existing file as a base, this should be easy. Take care that you use highlighting and conventions that are consistent with the rest of the book.
The DPLC Programming Guide uses the following highlighting and style conventions.
To create a new chapter to be inserted into the "Additional DPCL Programming Tasks" section of the DPLC Programming Guide, you should:
Doing this opens a standard Save File dialog.