\hypertarget{classVisitorPrinter}{
\section{VisitorPrinter Class Reference}
\label{classVisitorPrinter}\index{VisitorPrinter@{VisitorPrinter}}
}


This visitor will produce a human readable text stream from a policy.  




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

Inheritance diagram for VisitorPrinter:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classVisitorPrinter}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classVisitorPrinter_a305a05047d002034841e6c6a87f6bdca}{VisitorPrinter} (ostream \&out)
\item 
\hypertarget{classVisitorPrinter_a1e5fb84916017c6fe3c5304ec2c3237b}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classNodeUn}{NodeUn} \&)}
\label{classVisitorPrinter_a1e5fb84916017c6fe3c5304ec2c3237b}

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

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

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

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

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

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

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

\item 
\hypertarget{classVisitorPrinter_a931ca52f9c9593a92da6b3712365b0bb}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit} (\hyperlink{classPolicyStatement}{PolicyStatement} \&)}
\label{classVisitorPrinter_a931ca52f9c9593a92da6b3712365b0bb}

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

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

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

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

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classVisitorPrinter_a29d445e97b13f8f23208e2ca40508a20}{
ostream \& {\bfseries \_\-out}}
\label{classVisitorPrinter_a29d445e97b13f8f23208e2ca40508a20}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This visitor will produce a human readable text stream from a policy. Useful for debugging and checking what \hyperlink{protocolthe-p}{the} policy manager thinks polcies look like. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classVisitorPrinter_a305a05047d002034841e6c6a87f6bdca}{
\index{VisitorPrinter@{VisitorPrinter}!VisitorPrinter@{VisitorPrinter}}
\index{VisitorPrinter@{VisitorPrinter}!VisitorPrinter@{VisitorPrinter}}
\subsubsection[{VisitorPrinter}]{\setlength{\rightskip}{0pt plus 5cm}VisitorPrinter::VisitorPrinter (
\begin{DoxyParamCaption}
\item[{ostream \&}]{out}
\end{DoxyParamCaption}
)}}
\label{classVisitorPrinter_a305a05047d002034841e6c6a87f6bdca}

\begin{DoxyParams}{Parameters}
{\em out} & stream which receives \hyperlink{protocolthe-p}{the} text representation of policy. \\
\hline
\end{DoxyParams}


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