.TH CD-NUMBERED-XREF 1 "15 October 1993" "Demeter" "Demeter Software" .SH NAME cd-numbered-xref \- generates a graphical cross reference picture for a class dictionary. .SH SYNOPSIS .I cd-numbered-xref [class-dictionary] .SH DESCRIPTION .I cd-numbered-xref is a utility tool in the Demeter System/C++ which generates a three part numbered cross-refernced list for a class dictionary. The first part is a numbered cross-reference list for a class dictionary. The second part is a cross-reference list of class names with thier corresponding class dictionary line number. The order of the list is based upon order of class name appearance. The third part is a cross-reference list of class names and their corresponding line number in alphabetical order. The cross-reference is useful for two purposes: .br 1. as a cross-reference program. .br 2. as a class dictionary visualization tool. .br If a class is used more than once in a class dictionary, the cross-reference will lists each occurrence. .I cd-numbered-ref works also on parameterized class dictionaries. .SH EXAMPLE The following is an example of a .I cd-numbered-xref of a calculator.cd CD-NUMBERED-XREF Create a numbered cross reference list for a class dictionary. ------------------------------------------------------------- Class Dictionary .br ------------------------------------------------------------- 1 Example = Postfix_list. 2 Postfix : Numerical | Compound. 3 Numerical = DemNumber. 4 Compound = "{" Arguments Op "}". 5 Arguments = Postfix Postfix. 6 Op : Mulsym | Addsym | Subsym. 7 Mulsym = "*". 8 Addsym = "+". 9 Subsym = "-". 10 Postfix_list ~ Postfix { Postfix }. ------------------------------------------------------------- Cross Reference List .br ------------------------------------------------------------- .br Example :1 Postfix :2 5 5 10 10 Numerical :3 2 Compound :4 2 Arguments :5 4 Op :6 4 Mulsym :7 6 Addsym :8 6 Subsym :9 6 Postfix_list :10 1 ------------------------------------------------------------- Alphabetically Sorted Cross Reference List .br ------------------------------------------------------------- .br Addsym :8 6 Arguments :5 4 Compound :4 2 Example :1 Mulsym :7 6 Numerical :3 2 Op :6 4 Postfix :2 5 5 10 10 Postfix_list :10 1 Subsym :9 6 The default .I class-dictionary is cd.cd. .SH REFERENCES .I User's Guide for the Demeter System/C++ .br Walter L. Hursch .br Northeastern University, 1993