\hypertarget{classElemInt32}{
\section{ElemInt32 Class Reference}
\label{classElemInt32}\index{ElemInt32@{ElemInt32}}
}


32bit signed integer.  




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

Inheritance diagram for ElemInt32:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classElemInt32}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classElemInt32_ac9797679ef6c53758622e7065b56a57a}{ElemInt32} (const char $\ast$c\_\-str)
\begin{DoxyCompactList}\small\item\em Construct via c-\/style string. \item\end{DoxyCompactList}\item 
\hypertarget{classElemInt32_af3ef2fecfc19cfa00cc62bd0761adb92}{
{\bfseries ElemInt32} (const int32\_\-t val)}
\label{classElemInt32_af3ef2fecfc19cfa00cc62bd0761adb92}

\item 
string \hyperlink{classElemInt32_a7292da05b634f2a4d514f3ae6542bfe9}{str} () const 
\item 
int32\_\-t \hyperlink{classElemInt32_adeb70cc48c479ede9de00675b4d02c0d}{val} () const 
\item 
const char $\ast$ \hyperlink{classElemInt32_ad28e3ad0fbcb27ff9de13c6a9ce9330d}{type} () const 
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classElemInt32_a9843f2c8068aa82da620d43585e6deb3}{
static const char $\ast$ \hyperlink{classElemInt32_a9843f2c8068aa82da620d43585e6deb3}{id} = \char`\"{}i32\char`\"{}}
\label{classElemInt32_a9843f2c8068aa82da620d43585e6deb3}

\begin{DoxyCompactList}\small\item\em The identifier \mbox{[}type\mbox{]} of \hyperlink{protocolthe-p}{the} element. \item\end{DoxyCompactList}\item 
\hypertarget{classElemInt32_ab45f0f9161ad6cad0acd605f1d770c92}{
static Hash {\bfseries \_\-hash} = HASH\_\-ELEM\_\-INT32}
\label{classElemInt32_ab45f0f9161ad6cad0acd605f1d770c92}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classElemInt32_a76ff0351b5feced6a0830e57343e2844}{
int32\_\-t {\bfseries \_\-val}}
\label{classElemInt32_a76ff0351b5feced6a0830e57343e2844}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
32bit signed integer. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classElemInt32_ac9797679ef6c53758622e7065b56a57a}{
\index{ElemInt32@{ElemInt32}!ElemInt32@{ElemInt32}}
\index{ElemInt32@{ElemInt32}!ElemInt32@{ElemInt32}}
\subsubsection[{ElemInt32}]{\setlength{\rightskip}{0pt plus 5cm}ElemInt32::ElemInt32 (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{c\_\-str}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classElemInt32_ac9797679ef6c53758622e7065b56a57a}


Construct via c-\/style string. 

This is necessary in order to create elements via \hyperlink{protocolthe-p}{the} \hyperlink{classElementFactory}{ElementFactory}. If c\_\-str is null, then \hyperlink{protocolthe-p}{the} element is assigned a default value. Null c\_\-str is used by \hyperlink{protocolthe-p}{the} semantic checker, to obtain \char`\"{}dummy\char`\"{} elements for validity checks.


\begin{DoxyParams}{Parameters}
{\em c\_\-str} & initialize via string, or assign default value if null. \\
\hline
\end{DoxyParams}


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


Implements \hyperlink{classElement_a1acf1c63bbe1374c574bf19e3a000552}{Element}.

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


Implements \hyperlink{classElement_a17396c7d64fd4fc15713d3d803b57a56}{Element}.

\hypertarget{classElemInt32_adeb70cc48c479ede9de00675b4d02c0d}{
\index{ElemInt32@{ElemInt32}!val@{val}}
\index{val@{val}!ElemInt32@{ElemInt32}}
\subsubsection[{val}]{\setlength{\rightskip}{0pt plus 5cm}int32\_\-t ElemInt32::val (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classElemInt32_adeb70cc48c479ede9de00675b4d02c0d}
\begin{DoxyReturn}{Returns}
value of \hyperlink{protocolthe-p}{the} element. 
\end{DoxyReturn}


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}
