Ignore:
Timestamp:
Aug 7, 2024, 7:07:30 PM (42 hours ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
a8f44c8
Parents:
92a0ee8 (diff), 9d3a4cc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/jiada_liang_MMath/trait.tex

    r92a0ee8 rb0069a3  
    2424
    2525
    26 \section{Traits \lstinline{CfaEnum} and \lstinline{TypedEnum}}
     26\section{Traits \texorpdfstring{\lstinline{CfaEnum}{CfaEnum}} and \texorpdfstring{\lstinline{TypedEnum}}{TypedEnum}}
    2727
    2828Traits @CfaEnum@ and @TypedEnum@ define the enumeration attributes: @label@, @posn@, @value@, and @Countof@.
     
    8484
    8585Other types may work with traits @CfaEnum@ and @TypedEnum@, by supplying appropriate @label@, @posn@, and @value@ functions.
    86 For example, \VRef[Figure]{f:GeneralizedEnumerationFormatter} extends a (possibly predefined) C enumeration to work with all the \CFA extensions.
     86For example, \VRef[Figure]{f:ExtendCEnumeration} extends a (possibly predefined) C enumeration to work with all the \CFA extensions.
    8787
    8888\begin{figure}
     
    100100sout | format_enum( Cherry );                           $\C{// "Cherry(c)"}$
    101101\end{cfa}
    102 \caption{Generalized Enumeration Formatter}
    103 \label{f:GeneralizedEnumerationFormatter}
     102\caption{Extend C Enumeration to \CFA Enumeration}
     103\label{f:ExtendCEnumeration}
    104104\end{figure}
    105105
Note: See TracChangeset for help on using the changeset viewer.