paradiseo/trunk/paradiseo-eo/doc/latex/classeo_invalidate_bin_op.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

48 lines
2.2 KiB
TeX

\section{eo\-Invalidate\-Bin\-Op$<$ EOT $>$ Class Template Reference}
\label{classeo_invalidate_bin_op}\index{eoInvalidateBinOp@{eoInvalidateBinOp}}
One of the invalidator operators.
{\tt \#include $<$eo\-Invalidate\-Ops.h$>$}
Inheritance diagram for eo\-Invalidate\-Bin\-Op$<$ EOT $>$::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.60163cm]{classeo_invalidate_bin_op}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item
{\bf eo\-Invalidate\-Bin\-Op} ({\bf eo\-Bin\-Op}$<$ {\bf EOT} $>$ \&\_\-op)\label{classeo_invalidate_bin_op_a0}
\item
bool {\bf operator()} ({\bf EOT} \&\_\-eo, const {\bf EOT} \&\_\-eo2)\label{classeo_invalidate_bin_op_a1}
\begin{CompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item
{\bf eo\-Bin\-Op}$<$ {\bf EOT} $>$ \& {\bf op}\label{classeo_invalidate_bin_op_r0}
\end{CompactItemize}
\subsection{Detailed Description}
\subsubsection*{template$<$class EOT$>$ class eo\-Invalidate\-Bin\-Op$<$ EOT $>$}
One of the invalidator operators.
Use this one as a 'hat' on an operator that is defined to work on a generic datatype. This functor will then check the return type of the operator and invalidate the fitness of the individual.
This functor is used in algorithms that work with straight {\bf eo\-Mon\-Op}{\rm (p.\,\pageref{classeo_mon_op})}, {\bf eo\-Bin\-Op}{\rm (p.\,\pageref{classeo_bin_op})} or {\bf eo\-Quad\-Op}{\rm (p.\,\pageref{classeo_quad_op})} operators, for instance {\bf eo\-SGA}{\rm (p.\,\pageref{classeo_s_g_a})}. Note that {\bf eo\-Gen\-Op}{\rm (p.\,\pageref{classeo_gen_op})} derived operators generally do invalidate the fitness of the objects they have changed.
Return value means \char`\"{}Has\_\-Changed\char`\"{} and not \char`\"{}Needs\_\-To\_\-Be\_\-Invalidated\char`\"{} as successive invalidation are not really a problem
Definition at line 80 of file eo\-Invalidate\-Ops.h.
The documentation for this class was generated from the following file:\begin{CompactItemize}
\item
eo\-Invalidate\-Ops.h\end{CompactItemize}