\section{Basic\-Class\-Factory$<$ B, T $>$ Class Template Reference}
\label{class_basic_class_factory}\index{BasicClassFactory@{BasicClassFactory}}
A templated class factory.  


{\tt \#include $<$Basic\-Class\-Factory.h$>$}

Inheritance diagram for Basic\-Class\-Factory$<$ B, T $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=93pt]{class_basic_class_factory__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for Basic\-Class\-Factory$<$ B, T $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=93pt]{class_basic_class_factory__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual B $\ast$ {\bf create} ()
\item 
virtual void {\bf destroy} (B $\ast$class\-Node)
\end{CompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class B, class T$>$ class Basic\-Class\-Factory$<$ B, T $>$}

A templated class factory. 

B is the base class and T the derived class. The base class may be void, but otherwise B must be a base class of T. 



\subsection{Member Function Documentation}
\index{BasicClassFactory@{Basic\-Class\-Factory}!create@{create}}
\index{create@{create}!BasicClassFactory@{Basic\-Class\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class B, class T$>$ virtual B$\ast$ {\bf Basic\-Class\-Factory}$<$ B, T $>$::create ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_basic_class_factory_a0}


\begin{Desc}
\item[Returns:]A pointer to a newly allocated instance of class T. \end{Desc}


Implements {\bf Basic\-Class\-Factory\-Base$<$ B $>$} {\rm (p.\,\pageref{class_basic_class_factory_base_a0})}.

\index{BasicClassFactory@{Basic\-Class\-Factory}!destroy@{destroy}}
\index{destroy@{destroy}!BasicClassFactory@{Basic\-Class\-Factory}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class B, class T$>$ virtual void {\bf Basic\-Class\-Factory}$<$ B, T $>$::destroy (B $\ast$ {\em class\-Node})\hspace{0.3cm}{\tt  [inline, virtual]}}\label{class_basic_class_factory_a1}


\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em class\-Node}]A pointer to the instance of class T to deallocate. \end{description}
\end{Desc}


Implements {\bf Basic\-Class\-Factory\-Base$<$ B $>$} {\rm (p.\,\pageref{class_basic_class_factory_base_a1})}.



The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
{\bf Basic\-Class\-Factory.h}\end{CompactItemize}
