\hypertarget{classExportCodeGenerator}{
\section{ExportCodeGenerator Class Reference}
\label{classExportCodeGenerator}\index{ExportCodeGenerator@{ExportCodeGenerator}}
}


Generates export filter code from a node structure.  




{\ttfamily \#include $<$export\_\-code\_\-generator.hh$>$}

Inheritance diagram for ExportCodeGenerator:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classExportCodeGenerator}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classExportCodeGenerator_a4beb24f0afca6ce7cd0edac0924ad082}{ExportCodeGenerator} (const string \&proto, const SourceMatchCodeGenerator::Tags \&t, const \hyperlink{classVarMap}{VarMap} \&varmap, \hyperlink{classPolicyMap}{PolicyMap} \&pmap)
\item 
\hypertarget{classExportCodeGenerator_a6a2fea57fc04d802045a1948830f138c}{
const \hyperlink{classElement}{Element} $\ast$ {\bfseries visit\_\-term} (\hyperlink{classTerm}{Term} \&term)}
\label{classExportCodeGenerator_a6a2fea57fc04d802045a1948830f138c}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classExportCodeGenerator_a2e8f9a2f44c494a7b8e016d664622151}{
const SourceMatchCodeGenerator::Tags \& {\bfseries \_\-tags}}
\label{classExportCodeGenerator_a2e8f9a2f44c494a7b8e016d664622151}

\item 
\hypertarget{classExportCodeGenerator_af305ff0e59522b27a44cc267614d2942}{
SourceMatchCodeGenerator::Tags::const\_\-iterator {\bfseries \_\-tags\_\-iter}}
\label{classExportCodeGenerator_af305ff0e59522b27a44cc267614d2942}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Generates export filter code from a node structure. This is a specialized version of \hyperlink{protocolthe-p}{the} \hyperlink{classCodeGenerator}{CodeGenerator} used for import filters. It skips \hyperlink{protocolthe-p}{the} source section of terms and replaces it with tag matching instead. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classExportCodeGenerator_a4beb24f0afca6ce7cd0edac0924ad082}{
\index{ExportCodeGenerator@{ExportCodeGenerator}!ExportCodeGenerator@{ExportCodeGenerator}}
\index{ExportCodeGenerator@{ExportCodeGenerator}!ExportCodeGenerator@{ExportCodeGenerator}}
\subsubsection[{ExportCodeGenerator}]{\setlength{\rightskip}{0pt plus 5cm}ExportCodeGenerator::ExportCodeGenerator (
\begin{DoxyParamCaption}
\item[{const string \&}]{proto, }
\item[{const SourceMatchCodeGenerator::Tags \&}]{t, }
\item[{const {\bf VarMap} \&}]{varmap, }
\item[{{\bf PolicyMap} \&}]{pmap}
\end{DoxyParamCaption}
)}}
\label{classExportCodeGenerator_a4beb24f0afca6ce7cd0edac0924ad082}

\begin{DoxyParams}{Parameters}
{\em proto} & \hyperlink{classProtocol}{Protocol} for which code will be generated. \\
\hline
{\em t} & information on which tags should be used. \\
\hline
{\em varmap} & varmap. \\
\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/export\_\-code\_\-generator.hh\item 
/home/greearb/git/xorp.ct.github/xorp/policy/export\_\-code\_\-generator.cc\end{DoxyCompactItemize}
