paradiseo/trunk/paradiseo-eo/doc/latex/classeo_b_f.tex
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

44 lines
1.7 KiB
TeX

\section{eo\-BF$<$ A1, A2, R $>$ Class Template Reference}
\label{classeo_b_f}\index{eoBF@{eoBF}}
Basic Binary Functor.
{\tt \#include $<$eo\-Functor.h$>$}
Inheritance diagram for eo\-BF$<$ A1, A2, R $>$::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classeo_b_f}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item
virtual {\bf $\sim$eo\-BF} ()\label{classeo_b_f_a0}
\begin{CompactList}\small\item\em virtual dtor here so there is no need to define it in derived classes \item\end{CompactList}\item
virtual R {\bf operator()} (A1, A2)=0\label{classeo_b_f_a1}
\begin{CompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item
{\bf eo\-Functor\-Base::binary\_\-function\_\-tag} {\bf functor\_\-category} ()\label{classeo_b_f_e0}
\begin{CompactList}\small\item\em tag to identify a procedure in compile time function selection functor\_\-category \item\end{CompactList}\end{CompactItemize}
\subsection{Detailed Description}
\subsubsection*{template$<$class A1, class A2, class R$>$ class eo\-BF$<$ A1, A2, R $>$}
Basic Binary Functor.
Derive from this class when defining any binary function. First template argument is result\_\-type, second is first\_\-argument\_\-type, third is second\_\-argument\_\-type. Argument and result types can be any type including void for result\_\-type
Definition at line 145 of file eo\-Functor.h.
The documentation for this class was generated from the following file:\begin{CompactItemize}
\item
eo\-Functor.h\end{CompactItemize}