\hypertarget{main_8C}{
\section{main.C File Reference}
\label{main_8C}\index{main.C@{main.C}}
}
{\tt \#include $<$iostream$>$}\par
{\tt \#include $<$cctype$>$}\par
{\tt \#include \char`\"{}input.h\char`\"{}}\par
{\tt \#include \char`\"{}arrutil.h\char`\"{}}\par
{\tt \#include \char`\"{}menuresp.h\char`\"{}}\par
{\tt \#include \char`\"{}employee.h\char`\"{}}\par
{\tt \#include \char`\"{}boss.h\char`\"{}}\par
{\tt \#include \char`\"{}commission.h\char`\"{}}\par
{\tt \#include \char`\"{}piece.h\char`\"{}}\par
{\tt \#include \char`\"{}hourly.h\char`\"{}}\par
{\tt \#include \char`\"{}array.h\char`\"{}}\par


Include dependency graph for main.C:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=354pt]{main_8C__incl}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{CompactItemize}
\item 
class \hyperlink{classCount__If__Bounded}{Count\_\-If\_\-Bounded$<$ TypeBounded, BoundType $>$}
\item 
class \hyperlink{classCount__If__Bounded_3_01EmployeePtr_01_4}{Count\_\-If\_\-Bounded$<$ EmployeePtr $>$}
\item 
class \hyperlink{classPrint__If__Bounded}{Print\_\-If\_\-Bounded$<$ TypeBounded, BoundType $>$}
\item 
class \hyperlink{classPrint__If__Bounded_3_01EmployeePtr_01_4}{Print\_\-If\_\-Bounded$<$ EmployeePtr $>$}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{main_8C_1e2b0a65218ee3400a8cc5834ac6d6c4}{TEMPLATE\_\-CLASSES\_\-WONT\_\-COMPILE}
\end{CompactItemize}
\subsection*{Typedefs}
\begin{CompactItemize}
\item 
typedef \hyperlink{main_8C_f53b222694e0d9e447c782a9361edfbd}{CountType} \hyperlink{main_8C_23ee72f1dae71b70c2d76866d7e06c84}{PrintType}
\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum \hyperlink{main_8C_f53b222694e0d9e447c782a9361edfbd}{CountType} \{ \hyperlink{main_8C_f53b222694e0d9e447c782a9361edfbd7a352a3dd2accc1dd65a4538c3754ee8}{Low}, 
\hyperlink{main_8C_f53b222694e0d9e447c782a9361edfbd24c57acd029e3f96fede49402ea01e6f}{High}, 
\hyperlink{main_8C_f53b222694e0d9e447c782a9361edfbdedf69634e61e7ec5d006874d299bc0d4}{Both}
 \}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\footnotesize template$<$typename Pointer$>$ }\\void \hyperlink{main_8C_58d2021b6ce6db428c5e87885f03bc73}{free\_\-one} (Pointer \&ptr)
\item 
void \hyperlink{main_8C_212c32c612812a0e845277565f67ebf4}{report\_\-emp} (const \hyperlink{classEmployee}{EmployeePtr} \&emp)
\item 
void \hyperlink{main_8C_b1586788765b0e12c6520910b14a4696}{update\_\-size} (long size, long \&max, bool \&done)
\item 
{\footnotesize template$<$typename EmpPtrArray$>$ }\\void \hyperlink{main_8C_64ac837e043540c45a6d958153be4f28}{do\_\-entry\_\-menu} (EmpPtrArray \&arr, long \&size, long \&max)
\item 
{\footnotesize template$<$typename EmpPtrArray$>$ }\\void \hyperlink{main_8C_04e4c26e3035ae35d1656f79755ece62}{do\_\-wage\_\-count\_\-menu} (EmpPtrArray arr, long size)
\item 
{\footnotesize template$<$typename EmpPtrArray$>$ }\\void \hyperlink{main_8C_e40696be0d42bfcd78e7e394121235c7}{do\_\-wage\_\-print\_\-menu} (EmpPtrArray arr, long size)
\item 
{\footnotesize template$<$typename EmpPtrArray$>$ }\\void \hyperlink{main_8C_120190352b60b1c8f7d028a5113c0838}{do\_\-wage\_\-menu} (EmpPtrArray arr, long size)
\item 
{\footnotesize template$<$typename EmpPtrArray$>$ }\\void \hyperlink{main_8C_f5b6ceb8dd76b1b1a9dc2bc4db3c3d44}{do\_\-main\_\-menu} (EmpPtrArray \&arr, long \&size, long \&max)
\item 
int \hyperlink{main_8C_840291bc02cba5474a4cb46a9b9566fe}{main} (void)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{main_8C_1e2b0a65218ee3400a8cc5834ac6d6c4}{
\index{main.C@{main.C}!TEMPLATE\_\-CLASSES\_\-WONT\_\-COMPILE@{TEMPLATE\_\-CLASSES\_\-WONT\_\-COMPILE}}
\index{TEMPLATE\_\-CLASSES\_\-WONT\_\-COMPILE@{TEMPLATE\_\-CLASSES\_\-WONT\_\-COMPILE}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define TEMPLATE\_\-CLASSES\_\-WONT\_\-COMPILE}}
\label{main_8C_1e2b0a65218ee3400a8cc5834ac6d6c4}




Definition at line 11 of file main.C.

\subsection{Typedef Documentation}
\hypertarget{main_8C_23ee72f1dae71b70c2d76866d7e06c84}{
\index{main.C@{main.C}!PrintType@{PrintType}}
\index{PrintType@{PrintType}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}typedef {\bf CountType} {\bf PrintType}}}
\label{main_8C_23ee72f1dae71b70c2d76866d7e06c84}




Definition at line 215 of file main.C.

\subsection{Enumeration Type Documentation}
\hypertarget{main_8C_f53b222694e0d9e447c782a9361edfbd}{
\index{main.C@{main.C}!CountType@{CountType}}
\index{CountType@{CountType}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf CountType}}}
\label{main_8C_f53b222694e0d9e447c782a9361edfbd}


\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{Low@{Low}!main.C@{main.C}}\index{main.C@{main.C}!Low@{Low}}\item[{\em 
\hypertarget{main_8C_f53b222694e0d9e447c782a9361edfbd7a352a3dd2accc1dd65a4538c3754ee8}{
Low}
\label{main_8C_f53b222694e0d9e447c782a9361edfbd7a352a3dd2accc1dd65a4538c3754ee8}
}]\index{High@{High}!main.C@{main.C}}\index{main.C@{main.C}!High@{High}}\item[{\em 
\hypertarget{main_8C_f53b222694e0d9e447c782a9361edfbd24c57acd029e3f96fede49402ea01e6f}{
High}
\label{main_8C_f53b222694e0d9e447c782a9361edfbd24c57acd029e3f96fede49402ea01e6f}
}]\index{Both@{Both}!main.C@{main.C}}\index{main.C@{main.C}!Both@{Both}}\item[{\em 
\hypertarget{main_8C_f53b222694e0d9e447c782a9361edfbdedf69634e61e7ec5d006874d299bc0d4}{
Both}
\label{main_8C_f53b222694e0d9e447c782a9361edfbdedf69634e61e7ec5d006874d299bc0d4}
}]\end{description}
\end{Desc}



Definition at line 128 of file main.C.

\subsection{Function Documentation}
\hypertarget{main_8C_64ac837e043540c45a6d958153be4f28}{
\index{main.C@{main.C}!do\_\-entry\_\-menu@{do\_\-entry\_\-menu}}
\index{do\_\-entry\_\-menu@{do\_\-entry\_\-menu}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename EmpPtrArray$>$ void do\_\-entry\_\-menu (EmpPtrArray \& {\em arr}, \/  long \& {\em size}, \/  long \& {\em max})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{main_8C_64ac837e043540c45a6d958153be4f28}




Definition at line 62 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=224pt]{main_8C_64ac837e043540c45a6d958153be4f28_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=160pt]{main_8C_64ac837e043540c45a6d958153be4f28_icgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_f5b6ceb8dd76b1b1a9dc2bc4db3c3d44}{
\index{main.C@{main.C}!do\_\-main\_\-menu@{do\_\-main\_\-menu}}
\index{do\_\-main\_\-menu@{do\_\-main\_\-menu}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename EmpPtrArray$>$ void do\_\-main\_\-menu (EmpPtrArray \& {\em arr}, \/  long \& {\em size}, \/  long \& {\em max})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{main_8C_f5b6ceb8dd76b1b1a9dc2bc4db3c3d44}




Definition at line 416 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{main_8C_f5b6ceb8dd76b1b1a9dc2bc4db3c3d44_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=100pt]{main_8C_f5b6ceb8dd76b1b1a9dc2bc4db3c3d44_icgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_04e4c26e3035ae35d1656f79755ece62}{
\index{main.C@{main.C}!do\_\-wage\_\-count\_\-menu@{do\_\-wage\_\-count\_\-menu}}
\index{do\_\-wage\_\-count\_\-menu@{do\_\-wage\_\-count\_\-menu}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename EmpPtrArray$>$ void do\_\-wage\_\-count\_\-menu (EmpPtrArray {\em arr}, \/  long {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{main_8C_04e4c26e3035ae35d1656f79755ece62}




Definition at line 292 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=231pt]{main_8C_04e4c26e3035ae35d1656f79755ece62_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=235pt]{main_8C_04e4c26e3035ae35d1656f79755ece62_icgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_120190352b60b1c8f7d028a5113c0838}{
\index{main.C@{main.C}!do\_\-wage\_\-menu@{do\_\-wage\_\-menu}}
\index{do\_\-wage\_\-menu@{do\_\-wage\_\-menu}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename EmpPtrArray$>$ void do\_\-wage\_\-menu (EmpPtrArray {\em arr}, \/  long {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{main_8C_120190352b60b1c8f7d028a5113c0838}




Definition at line 384 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=291pt]{main_8C_120190352b60b1c8f7d028a5113c0838_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=160pt]{main_8C_120190352b60b1c8f7d028a5113c0838_icgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_e40696be0d42bfcd78e7e394121235c7}{
\index{main.C@{main.C}!do\_\-wage\_\-print\_\-menu@{do\_\-wage\_\-print\_\-menu}}
\index{do\_\-wage\_\-print\_\-menu@{do\_\-wage\_\-print\_\-menu}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename EmpPtrArray$>$ void do\_\-wage\_\-print\_\-menu (EmpPtrArray {\em arr}, \/  long {\em size})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{main_8C_e40696be0d42bfcd78e7e394121235c7}




Definition at line 342 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=226pt]{main_8C_e40696be0d42bfcd78e7e394121235c7_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=232pt]{main_8C_e40696be0d42bfcd78e7e394121235c7_icgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_58d2021b6ce6db428c5e87885f03bc73}{
\index{main.C@{main.C}!free\_\-one@{free\_\-one}}
\index{free\_\-one@{free\_\-one}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Pointer$>$ void free\_\-one (Pointer \& {\em ptr})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{main_8C_58d2021b6ce6db428c5e87885f03bc73}




Definition at line 22 of file main.C.\hypertarget{main_8C_840291bc02cba5474a4cb46a9b9566fe}{
\index{main.C@{main.C}!main@{main}}
\index{main@{main}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int main (void)}}
\label{main_8C_840291bc02cba5474a4cb46a9b9566fe}




Definition at line 449 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=387pt]{main_8C_840291bc02cba5474a4cb46a9b9566fe_cgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_212c32c612812a0e845277565f67ebf4}{
\index{main.C@{main.C}!report\_\-emp@{report\_\-emp}}
\index{report\_\-emp@{report\_\-emp}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void report\_\-emp (const {\bf EmployeePtr} \& {\em emp})}}
\label{main_8C_212c32c612812a0e845277565f67ebf4}




Definition at line 30 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=124pt]{main_8C_212c32c612812a0e845277565f67ebf4_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=151pt]{main_8C_212c32c612812a0e845277565f67ebf4_icgraph}
\end{center}
\end{figure}
\hypertarget{main_8C_b1586788765b0e12c6520910b14a4696}{
\index{main.C@{main.C}!update\_\-size@{update\_\-size}}
\index{update\_\-size@{update\_\-size}!main.C@{main.C}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void update\_\-size (long {\em size}, \/  long \& {\em max}, \/  bool \& {\em done})}}
\label{main_8C_b1586788765b0e12c6520910b14a4696}




Definition at line 40 of file main.C.

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=125pt]{main_8C_b1586788765b0e12c6520910b14a4696_cgraph}
\end{center}
\end{figure}


Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=213pt]{main_8C_b1586788765b0e12c6520910b14a4696_icgraph}
\end{center}
\end{figure}
