.\" Define the hook that is called for each section. We use it to .\" insert entries into the TOC. .de $0 . if \\n[.$]==3 \{\ . pdfhref O \\$3 \\$2 \\$1 . (x t \\$2\t\\$1 . )x . \} .. . .\" Define the hook that is called for each chapter. We use it to .\" put the appendix information in the TOC .de $C . (x t \\$2\t\\$1 \- \\$3 . )x .. . .\" Define a TOC macro .de TOC . pdfsync . pn 1 . bp . ro . ps +4 . ce 1 Table of Contents . sp . ps -4 . xp t .. .de TOT . bp . ps +4 . ce 1 Table of Tables . sp . ps -4 . xp b .. .de TOF . bp . ps +4 . ce 1 Table of Figures . sp . ps -4 . xp f .. . .\" Macro for Class/Relationship indices .de TOR . bp . ro . ps +4 . ce 1 Table of Classes . sp . ps -4 . xp c . bp . ps +4 . ce 1 Table of Relationships . sp . ps -4 . xp r .. . .\" Macro to define a class .\" .(C ClassName ClassKeyLetters .de (C . lp . ne 6 . hl . (x t \t\\$1\ (\\$2) . )x . (x c \\$1\ (\\$2) . )x . nf . \" bold font, args, prev font \fB\\$1\ (\\$2)\fP . br .. . .\" Define an identifier .\" *I name note .de *I .ie '\\$2''*\ \ \\$1 .el *\ \ \\$1\ \ (\\$2) .. . .\" Define a secondary identifier .\" *I2 name note .de *I2 .ie '\\$2''*2\ \ \\$1 .el *2\ \ \\$1\ \ (\\$2) .. . .\" Define a tertiary identifier .\" *I3 name note .de *I3 .ie '\\$2''*3\ \ \\$1 .el *3\ \ \\$1\ \ (\\$2) .. . .\" Define a descriptive attribute .\" *A name note .de *A .ie '\\$2''-\ \ \\$1 .el -\ \ \\$1\ \ (\\$2) .. . .\" End of class .de )C . fi . br .. .\" Define a generalization relationship .\" (G relname supername .de (G . lp . ne 6 . hl . (x t \t\\$1 - \\$2 Generalization . )x . (x r \\$1\t\\$2 Generalization . )x . b "\\$1" . br \fB\\$2\fP \fI\,is a\fP . nf .. .de )G . fi .. .de *S \t\fB\\$1\fP .. .\" Define a simple relationship .\" (R relname src dst .de (R . ds RN \\$1 . ds FO \\$2 . ds BO \\$3 . (x t \t\\$1 - \\$2 \[->] \\$3 . )x . (x r \\$1\t\\$2 \[->] \\$3 . )x .. .de )R . lp . ne 6 . hl . uh "\\*(RN\t\\*(FO\ \[->]\ \\*(BO" . lp \t\fB\\*(FO\fP \fI\,\\*(FP\fP \fB\/\\*(BO\fP (\fB\\*(BC\ \[->]\ \\*(FC\fP) . br \t\fB\\*(BO\fP \fI\,\\*(BP\fP \fB\/\\*(FO\fP (\fB\\*(FC\ \[->]\ \\*(BC\fP) . br .. .\" Define Forward direction .\" *F phrase card .de *F . ds FP \\$1 . ds FC \\$2 .. .\" Define Backward direction .\" *B phrase card .de *B . ds BP \\$1 . ds BC \\$2 .. .\" Define Association relationship .\" (A relname assoc forw back mult .de (A . ds RN \\$1 . ds AO \\$2 . ds FO \\$3 . ds BO \\$4 . ie \\n[.$]==5 \{\ . ds AM \\$5 . \} . el \{\ . ds AM 1 . \} . (x t \t\\$1 - \\$3 \[->] \\$4 . )x . (x r \\$1\t\\$3 \[->] \\$4 . )x .. .de )A . lp . ne 6 . hl . uh "\\*(RN\t\\*(FO\ \[->]\ \\*(BO" . lp \fB\\*(AO\fP is an instance of . br \t\fB\\*(FO\fP \fI\,\\*(FP\fP \fB\/\\*(BO\fP (\fB\\*(AM\ :\ \\*(BC\ \[->]\ \\*(FC\fP) . br \t\fB\\*(BO\fP \fI\,\\*(BP\fP \fB\/\\*(FO\fP (\fB\\*(AM\ :\ \\*(FC\ \[->]\ \\*(BC\fP) . br .. .\" Table caption .\" [CAP] caption .nr TN 0 1 .de TBL . nr LV (\\n($0 + 1) . pdfhref O \\n(LV Table \\n+(TN \\$1 . hl . ce 1 \fBTable \\n(TN. \\$1\fP . (x b \\n(TN\t\\$1 . )x .. .\" Figure caption .\" [FIG] caption .nr FN 0 1 .de FIG . nr LV (\\n($0 + 1) . pdfhref O \\n(LV Figure \\n+(FN \\$1 . in 0 . hl . ce 1 \fBFigure \\n(FN. \\$1\fP . (x f \\n(FN\t\\$1 . )x ..