\hypertarget{classElemStr}{
\section{ElemStr Class Reference}
\label{classElemStr}\index{ElemStr@{ElemStr}}
}


string element.  




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

Inheritance diagram for ElemStr:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classElemStr}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classElemStr_a954b00b4072e24723d559978fee9eca1}{
{\bfseries ElemStr} (const char $\ast$val)}
\label{classElemStr_a954b00b4072e24723d559978fee9eca1}

\item 
\hypertarget{classElemStr_acee2015c02cec13a8b5c2de5d99d494a}{
{\bfseries ElemStr} (const string \&str)}
\label{classElemStr_acee2015c02cec13a8b5c2de5d99d494a}

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

\item 
const char $\ast$ \hyperlink{classElemStr_a67aa928077fb6260beca992b38325407}{type} () const 
\item 
\hypertarget{classElemStr_ae6244184cf740d1247a3db843dd24a20}{
bool {\bfseries operator==} (const \hyperlink{classElemStr}{ElemStr} \&rhs) const }
\label{classElemStr_ae6244184cf740d1247a3db843dd24a20}

\item 
\hypertarget{classElemStr_abc6a171479c9eccece90019fef61fab0}{
bool {\bfseries operator$<$} (const \hyperlink{classElemStr}{ElemStr} \&rhs) const }
\label{classElemStr_abc6a171479c9eccece90019fef61fab0}

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

\item 
\hypertarget{classElemStr_afb7b735da2b2b8ae08dc785a7b5476ea}{
static Hash {\bfseries \_\-hash} = HASH\_\-ELEM\_\-STR}
\label{classElemStr_afb7b735da2b2b8ae08dc785a7b5476ea}

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}
string element. 

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


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{classElemStr_a67aa928077fb6260beca992b38325407}{
\index{ElemStr@{ElemStr}!type@{type}}
\index{type@{type}!ElemStr@{ElemStr}}
\subsubsection[{type}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ ElemStr::type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{classElemStr_a67aa928077fb6260beca992b38325407}
\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}
