\hypertarget{classElemBool}{
\section{ElemBool Class Reference}
\label{classElemBool}\index{ElemBool@{ElemBool}}
}


boolean element.  




{\ttfamily \#include $<$element.hh$>$}

Inheritance diagram for ElemBool:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classElemBool}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classElemBool_a8ae50918469a83547f5c98980db1c9c7}{
{\bfseries ElemBool} (const char $\ast$c\_\-str)}
\label{classElemBool_a8ae50918469a83547f5c98980db1c9c7}

\item 
\hypertarget{classElemBool_a0322841a07f630596a1ed5f3ad3ed8ab}{
{\bfseries ElemBool} (const bool val)}
\label{classElemBool_a0322841a07f630596a1ed5f3ad3ed8ab}

\item 
string \hyperlink{classElemBool_abc28cb7c00b00f3f5f6f0d925358006c}{str} () const 
\begin{DoxyCompactList}\small\item\em Every element must be representable by a string. \item\end{DoxyCompactList}\item 
\hypertarget{classElemBool_a4a09c1dad872cec6e4a48a60fc6598e5}{
bool {\bfseries val} () const }
\label{classElemBool_a4a09c1dad872cec6e4a48a60fc6598e5}

\item 
const char $\ast$ \hyperlink{classElemBool_a3413f82944fb4e346b650a92100afe8b}{type} () const 
\item 
\hypertarget{classElemBool_ab77902a28ad8e6cd7e20bfe794c7536e}{
bool {\bfseries operator==} (const \hyperlink{classElemBool}{ElemBool} \&rhs) const }
\label{classElemBool_ab77902a28ad8e6cd7e20bfe794c7536e}

\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classElemBool_a8826f2e73a265f7c2809a21b58321571}{
static const char $\ast$ {\bfseries id} = \char`\"{}bool\char`\"{}}
\label{classElemBool_a8826f2e73a265f7c2809a21b58321571}

\item 
\hypertarget{classElemBool_a062be5b36dae940b6c462069dfe0fc6d}{
static Hash {\bfseries \_\-hash} = HASH\_\-ELEM\_\-BOOL}
\label{classElemBool_a062be5b36dae940b6c462069dfe0fc6d}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classElemBool_a5cb469e8019a18f01934db30f5160147}{
bool {\bfseries \_\-val}}
\label{classElemBool_a5cb469e8019a18f01934db30f5160147}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
boolean element. 

\subsection{Member Function Documentation}
\hypertarget{classElemBool_abc28cb7c00b00f3f5f6f0d925358006c}{
\index{ElemBool@{ElemBool}!str@{str}}
\index{str@{str}!ElemBool@{ElemBool}}
\subsubsection[{str}]{\setlength{\rightskip}{0pt plus 5cm}string ElemBool::str (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classElemBool_abc28cb7c00b00f3f5f6f0d925358006c}


Every element must be representable by a string. 

This is a requirement to enable \hyperlink{protocolthe-p}{the} policy manager to send elements to \hyperlink{protocolthe-p}{the} backend filters via XRL calls for example.

\begin{DoxyReturn}{Returns}
string representation of \hyperlink{protocolthe-p}{the} element. 
\end{DoxyReturn}


Implements \hyperlink{classElement_a1acf1c63bbe1374c574bf19e3a000552}{Element}.

\hypertarget{classElemBool_a3413f82944fb4e346b650a92100afe8b}{
\index{ElemBool@{ElemBool}!type@{type}}
\index{type@{type}!ElemBool@{ElemBool}}
\subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ ElemBool::type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classElemBool_a3413f82944fb4e346b650a92100afe8b}
\begin{DoxyReturn}{Returns}
string representation of element type. 
\end{DoxyReturn}


Implements \hyperlink{classElement_a17396c7d64fd4fc15713d3d803b57a56}{Element}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/policy/common/element.hh\item 
/home/greearb/git/xorp.ct.github/xorp/policy/common/element.cc\end{DoxyCompactItemize}
