\section{marlin\-:\-:Logical\-Expressions Class Reference}
\label{classmarlin_1_1LogicalExpressions}\index{marlin\-::\-Logical\-Expressions@{marlin\-::\-Logical\-Expressions}}


Helper class that holds named boolean values and named conditions that are expressions of these values and computes the corresponding truth values.  




{\ttfamily \#include $<$Logical\-Expressions.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Logical\-Expressions} ()\label{classmarlin_1_1LogicalExpressions_aaf6b1462bb3a34629cfd9db2c6726731}

\begin{DoxyCompactList}\small\item\em C'tor. \end{DoxyCompactList}\item 
virtual {\bf $\sim$\-Logical\-Expressions} ()
\begin{DoxyCompactList}\small\item\em Virtual d'tor. \end{DoxyCompactList}\item 
void {\bf add\-Condition} (const std\-::string \&name, const std\-::string \&expression)
\begin{DoxyCompactList}\small\item\em Add a new named logical expression formed out of [!,(,\&\&,$\vert$$\vert$,),value], e.\-g. \end{DoxyCompactList}\item 
void {\bf clear} ()\label{classmarlin_1_1LogicalExpressions_a76b54f707451b712c17e28c9437046d3}

\begin{DoxyCompactList}\small\item\em Clear all boolean values. \end{DoxyCompactList}\item 
bool {\bf condition\-Is\-True} (const std\-::string \&name)\label{classmarlin_1_1LogicalExpressions_a08c95c556b031cae4b684148606572a8}

\begin{DoxyCompactList}\small\item\em True if the named condition (stored with add\-Condition) is true with the current values. \end{DoxyCompactList}\item 
bool {\bf expression\-Is\-True} (const std\-::string \&expression)\label{classmarlin_1_1LogicalExpressions_a6198c24029b6b46e7eafe3f57e9e8069}

\begin{DoxyCompactList}\small\item\em True if the given expression is true with the current values. \end{DoxyCompactList}\item 
void {\bf set\-Value} (const std\-::string \&key, bool val)\label{classmarlin_1_1LogicalExpressions_ada41b5ce342ece132a711786fb4ca6d4}

\begin{DoxyCompactList}\small\item\em Set the the boolean value for the given key. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
bool {\bf get\-Value} (const std\-::string \&key)\label{classmarlin_1_1LogicalExpressions_a3262dad44ba904f5b7954d2be452b73d}

\begin{DoxyCompactList}\small\item\em helper function for finding return values, that actually have been set by their corresponding processor -\/ throws exception if not set \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
Conditions\-Map {\bfseries \-\_\-cond\-Map}\label{classmarlin_1_1LogicalExpressions_aa9f5d0e32fc3c9d5545b27a67fe6e92e}

\item 
Result\-Map {\bfseries \-\_\-result\-Map}\label{classmarlin_1_1LogicalExpressions_abce3723595c36888a1573dd7d72574d9}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Helper class that holds named boolean values and named conditions that are expressions of these values and computes the corresponding truth values. 

\subsection{Constructor \& Destructor Documentation}
\index{marlin\-::\-Logical\-Expressions@{marlin\-::\-Logical\-Expressions}!$\sim$\-Logical\-Expressions@{$\sim$\-Logical\-Expressions}}
\index{$\sim$\-Logical\-Expressions@{$\sim$\-Logical\-Expressions}!marlin::LogicalExpressions@{marlin\-::\-Logical\-Expressions}}
\subsubsection[{$\sim$\-Logical\-Expressions}]{\setlength{\rightskip}{0pt plus 5cm}virtual marlin\-::\-Logical\-Expressions\-::$\sim$\-Logical\-Expressions (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\label{classmarlin_1_1LogicalExpressions_abf8b70a38de7735ba2d0c7bf5bb44fd5}


Virtual d'tor. 



\subsection{Member Function Documentation}
\index{marlin\-::\-Logical\-Expressions@{marlin\-::\-Logical\-Expressions}!add\-Condition@{add\-Condition}}
\index{add\-Condition@{add\-Condition}!marlin::LogicalExpressions@{marlin\-::\-Logical\-Expressions}}
\subsubsection[{add\-Condition}]{\setlength{\rightskip}{0pt plus 5cm}void marlin\-::\-Logical\-Expressions\-::add\-Condition (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{const std\-::string \&}]{expression}
\end{DoxyParamCaption}
)}\label{classmarlin_1_1LogicalExpressions_a46ca6fa6d4c76ec7ad18a3500d8ebb0d}


Add a new named logical expression formed out of [!,(,\&\&,$\vert$$\vert$,),value], e.\-g. 

\par
 ( A \&\& ( B $\vert$$\vert$ !\-C ) ) $\vert$$\vert$ ( !\-B \&\& D ) 

Referenced by marlin\-::\-Processor\-Mgr\-::add\-Active\-Processor().



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Logical\-Expressions.\-h\item 
Logical\-Expressions.\-cc\end{DoxyCompactItemize}
