\hypertarget{classVisitorDep}{
\section{VisitorDep Class Reference}
\label{classVisitorDep}\index{VisitorDep@{VisitorDep}}
}


This visitor is used to check what sets a policy uses.  




{\ttfamily \#include $<$visitor\_\-dep.hh$>$}

Inheritance diagram for VisitorDep:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classVisitorDep}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classVisitorDep_1_1sem__error}{sem\_\-error}
\begin{DoxyCompactList}\small\item\em Semantic error thrown if set is not found. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classVisitorDep_a1cc6e77ae09c5c489761a2cf0581bda9}{VisitorDep} (\hyperlink{classSetMap}{SetMap} \&setmap, \hyperlink{classPolicyMap}{PolicyMap} \&pmap)
\item 
\hypertarget{classVisitorDep_af3c70202f20ad93be3822e1390d45cee}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classPolicyStatement}{PolicyStatement} \&policy)}
\label{classVisitorDep_af3c70202f20ad93be3822e1390d45cee}

\item 
\hypertarget{classVisitorDep_a6eacfa649a5e9b624685f85abd20119f}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classTerm}{Term} \&term)}
\label{classVisitorDep_a6eacfa649a5e9b624685f85abd20119f}

\item 
\hypertarget{classVisitorDep_aa3c8f2332de875ecc78159ca64e4cca5}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeUn}{NodeUn} \&node)}
\label{classVisitorDep_aa3c8f2332de875ecc78159ca64e4cca5}

\item 
\hypertarget{classVisitorDep_acc5ff1a854ca956503fd550ee1021376}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeBin}{NodeBin} \&node)}
\label{classVisitorDep_acc5ff1a854ca956503fd550ee1021376}

\item 
\hypertarget{classVisitorDep_af9a192b768a9ddf3490b8b725241fd07}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeAssign}{NodeAssign} \&node)}
\label{classVisitorDep_af9a192b768a9ddf3490b8b725241fd07}

\item 
\hypertarget{classVisitorDep_a497e65dd9177b946a6211e098f46b35e}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeAny}{NodeVar} \&node)}
\label{classVisitorDep_a497e65dd9177b946a6211e098f46b35e}

\item 
\hypertarget{classVisitorDep_a7903ed044a4e8a252443ad1129f3c006}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeSet}{NodeSet} \&node)}
\label{classVisitorDep_a7903ed044a4e8a252443ad1129f3c006}

\item 
\hypertarget{classVisitorDep_a7dc59c3308187d55b11f4ba9c50e50c1}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeElem}{NodeElem} \&node)}
\label{classVisitorDep_a7dc59c3308187d55b11f4ba9c50e50c1}

\item 
\hypertarget{classVisitorDep_aa8e77d048257222a7ceda84243d7cdcb}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeAccept}{NodeAccept} \&node)}
\label{classVisitorDep_aa8e77d048257222a7ceda84243d7cdcb}

\item 
\hypertarget{classVisitorDep_a6b846c3b555d5d861db0b6321866aae4}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeReject}{NodeReject} \&node)}
\label{classVisitorDep_a6b846c3b555d5d861db0b6321866aae4}

\item 
\hypertarget{classVisitorDep_a0ed9f76b685f83392bb3179421df4237}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeProto}{NodeProto} \&node)}
\label{classVisitorDep_a0ed9f76b685f83392bb3179421df4237}

\item 
\hypertarget{classVisitorDep_a8fd5240c3897859f38678dd6caa33a5e}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeNext}{NodeNext} \&node)}
\label{classVisitorDep_a8fd5240c3897859f38678dd6caa33a5e}

\item 
\hypertarget{classVisitorDep_acd31cd50abc7a906fc9ef2371d7458c2}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeSubr}{NodeSubr} \&node)}
\label{classVisitorDep_acd31cd50abc7a906fc9ef2371d7458c2}

\item 
const DEPS \& \hyperlink{classVisitorDep_ace03bbc2eb30087acdfcb02432448ada}{sets} () const 
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classVisitorDep_a46c70de6219d736deaf596df121327cf}{
void {\bfseries commit\_\-deps} (\hyperlink{classPolicyStatement}{PolicyStatement} \&policy)}
\label{classVisitorDep_a46c70de6219d736deaf596df121327cf}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classVisitorDep_a0687ffe04d334fc3481165fb42a308c0}{
\hyperlink{classSetMap}{SetMap} \& {\bfseries \_\-setmap}}
\label{classVisitorDep_a0687ffe04d334fc3481165fb42a308c0}

\item 
\hypertarget{classVisitorDep_a89f371e7f1c3d80f36355bef60838051}{
\hyperlink{classPolicyMap}{PolicyMap} \& {\bfseries \_\-pmap}}
\label{classVisitorDep_a89f371e7f1c3d80f36355bef60838051}

\item 
\hypertarget{classVisitorDep_a635aa70ea0cf34db621807b83da456c5}{
DEPS {\bfseries \_\-sets}}
\label{classVisitorDep_a635aa70ea0cf34db621807b83da456c5}

\item 
\hypertarget{classVisitorDep_af4b7bd180629db472d58e1977844086a}{
DEPS {\bfseries \_\-policies}}
\label{classVisitorDep_af4b7bd180629db472d58e1977844086a}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This visitor is used to check what sets a policy uses. This is useful for set dependancy tracking. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classVisitorDep_a1cc6e77ae09c5c489761a2cf0581bda9}{
\index{VisitorDep@{VisitorDep}!VisitorDep@{VisitorDep}}
\index{VisitorDep@{VisitorDep}!VisitorDep@{VisitorDep}}
\subsubsection[{VisitorDep}]{\setlength{\rightskip}{0pt plus 5cm}VisitorDep::VisitorDep (
\begin{DoxyParamCaption}
\item[{{\bf SetMap} \&}]{setmap, }
\item[{{\bf PolicyMap} \&}]{pmap}
\end{DoxyParamCaption}
)}}
\label{classVisitorDep_a1cc6e77ae09c5c489761a2cf0581bda9}

\begin{DoxyParams}{Parameters}
{\em setmap} & The setmap used. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classVisitorDep_ace03bbc2eb30087acdfcb02432448ada}{
\index{VisitorDep@{VisitorDep}!sets@{sets}}
\index{sets@{sets}!VisitorDep@{VisitorDep}}
\subsubsection[{sets}]{\setlength{\rightskip}{0pt plus 5cm}const set$<$ string $>$ \& VisitorDep::sets (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{classVisitorDep_ace03bbc2eb30087acdfcb02432448ada}
\begin{DoxyReturn}{Returns}
\hyperlink{protocolthe-p}{the} sets used by \hyperlink{protocolthe-p}{the} policy. 
\end{DoxyReturn}


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