\hypertarget{classPolicyInstr}{
\section{PolicyInstr Class Reference}
\label{classPolicyInstr}\index{PolicyInstr@{PolicyInstr}}
}


Container for terms instructions.  




{\ttfamily \#include $<$policy\_\-instr.hh$>$}

Inheritance diagram for PolicyInstr:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPolicyInstr}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPolicyInstr_a38bd7d4d51bd53b11b6d6ab8283924f0}{PolicyInstr} (const string \&name, vector$<$ \hyperlink{classTermInstr}{TermInstr} $\ast$ $>$ $\ast$terms)
\item 
\hyperlink{classTermInstr}{TermInstr} $\ast$$\ast$ \hyperlink{classPolicyInstr_ab9f609f9b2f1172adcbfe5c0b21c562b}{terms} ()
\item 
const string \& \hyperlink{classPolicyInstr_ae717d2c568c15a28230aa188693393fb}{name} ()
\item 
\hypertarget{classPolicyInstr_a5aed074764ee743ef3fee056d498ddb6}{
int {\bfseries termc} () const }
\label{classPolicyInstr_a5aed074764ee743ef3fee056d498ddb6}

\item 
\hypertarget{classPolicyInstr_a71a3526c3f42347a01fecadb33048684}{
void {\bfseries set\_\-trace} (bool trace)}
\label{classPolicyInstr_a71a3526c3f42347a01fecadb33048684}

\item 
\hypertarget{classPolicyInstr_a4ad50741c444f2e7038829349737d32c}{
bool {\bfseries trace} () const }
\label{classPolicyInstr_a4ad50741c444f2e7038829349737d32c}

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

\item 
\hypertarget{classPolicyInstr_ad9427fb73c2fdecfd3569efe98609c03}{
\hyperlink{classTermInstr}{TermInstr} $\ast$$\ast$ {\bfseries \_\-terms}}
\label{classPolicyInstr_ad9427fb73c2fdecfd3569efe98609c03}

\item 
\hypertarget{classPolicyInstr_a8bc99b58ca0dc192a3feac0aa11eb567}{
int {\bfseries \_\-termc}}
\label{classPolicyInstr_a8bc99b58ca0dc192a3feac0aa11eb567}

\item 
\hypertarget{classPolicyInstr_a266822364e770f1bf2ddb5df807ee2a6}{
bool {\bfseries \_\-trace}}
\label{classPolicyInstr_a266822364e770f1bf2ddb5df807ee2a6}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Container for terms instructions. A policy instruction is a list of term instructions. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classPolicyInstr_a38bd7d4d51bd53b11b6d6ab8283924f0}{
\index{PolicyInstr@{PolicyInstr}!PolicyInstr@{PolicyInstr}}
\index{PolicyInstr@{PolicyInstr}!PolicyInstr@{PolicyInstr}}
\subsubsection[{PolicyInstr}]{\setlength{\rightskip}{0pt plus 5cm}PolicyInstr::PolicyInstr (
\begin{DoxyParamCaption}
\item[{const string \&}]{name, }
\item[{vector$<$ {\bf TermInstr} $\ast$ $>$ $\ast$}]{terms}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPolicyInstr_a38bd7d4d51bd53b11b6d6ab8283924f0}

\begin{DoxyParams}{Parameters}
{\em name} & name of \hyperlink{protocolthe-p}{the} policy. \\
\hline
{\em terms} & terms of \hyperlink{protocolthe-p}{the} policy. Caller must not delete terms. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classPolicyInstr_ae717d2c568c15a28230aa188693393fb}{
\index{PolicyInstr@{PolicyInstr}!name@{name}}
\index{name@{name}!PolicyInstr@{PolicyInstr}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}const string\& PolicyInstr::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPolicyInstr_ae717d2c568c15a28230aa188693393fb}
\begin{DoxyReturn}{Returns}
name of \hyperlink{protocolthe-p}{the} policy. 
\end{DoxyReturn}
\hypertarget{classPolicyInstr_ab9f609f9b2f1172adcbfe5c0b21c562b}{
\index{PolicyInstr@{PolicyInstr}!terms@{terms}}
\index{terms@{terms}!PolicyInstr@{PolicyInstr}}
\subsubsection[{terms}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TermInstr}$\ast$$\ast$ PolicyInstr::terms (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classPolicyInstr_ab9f609f9b2f1172adcbfe5c0b21c562b}
\begin{DoxyReturn}{Returns}
terms of this policy. Caller must not delete terms. 
\end{DoxyReturn}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
/home/greearb/git/xorp.ct.github/xorp/policy/backend/policy\_\-instr.hh\end{DoxyCompactItemize}
