\hypertarget{classTemplateTree}{
\section{TemplateTree Class Reference}
\label{classTemplateTree}\index{TemplateTree@{TemplateTree}}
}
Inheritance diagram for TemplateTree:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classTemplateTree}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTemplateTree_ae30d2f22660a97cd4430d6a246094ecd}{
{\bfseries TemplateTree} (const string \&xorp\_\-root\_\-dir, bool verbose)  throw (InitError)}
\label{classTemplateTree_ae30d2f22660a97cd4430d6a246094ecd}

\item 
\hypertarget{classTemplateTree_ac697b357b903d1744356859e79cdf036}{
bool {\bfseries load\_\-template\_\-tree} (const string \&config\_\-template\_\-dir, string \&error\_\-msg)}
\label{classTemplateTree_ac697b357b903d1744356859e79cdf036}

\item 
\hypertarget{classTemplateTree_a93e18478fb6798ba1b5135f4052988c4}{
bool {\bfseries parse\_\-file} (const string \&filename, const string \&config\_\-template\_\-dir, string \&error\_\-msg)}
\label{classTemplateTree_a93e18478fb6798ba1b5135f4052988c4}

\item 
\hypertarget{classTemplateTree_a359a6c6c4f5baddd639f04dcdc6aa606}{
void {\bfseries extend\_\-path} (const string \&segment, bool is\_\-tag)}
\label{classTemplateTree_a359a6c6c4f5baddd639f04dcdc6aa606}

\item 
\hypertarget{classTemplateTree_a3d4ebc35b62182ab4ace5a416cb55c06}{
void {\bfseries pop\_\-path} ()  throw (ParseError)}
\label{classTemplateTree_a3d4ebc35b62182ab4ace5a416cb55c06}

\item 
\hypertarget{classTemplateTree_a907e52d2d1d47ac0c28be67741c6d7cd}{
void {\bfseries push\_\-path} (int type, char $\ast$initializer)}
\label{classTemplateTree_a907e52d2d1d47ac0c28be67741c6d7cd}

\item 
\hypertarget{classTemplateTree_a544c6c9eab5acfb145f291807bb9fbde}{
void {\bfseries add\_\-untyped\_\-node} (const string \&segment, bool is\_\-tag)  throw (ParseError)}
\label{classTemplateTree_a544c6c9eab5acfb145f291807bb9fbde}

\item 
\hypertarget{classTemplateTree_a47727928c6b64b84edae13352537f603}{
void {\bfseries add\_\-node} (const string \&segment, int type, char $\ast$initializer)}
\label{classTemplateTree_a47727928c6b64b84edae13352537f603}

\item 
\hypertarget{classTemplateTree_a9ca0b3a59fc6f799889c951dd9360ce1}{
const \hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$ {\bfseries find\_\-node} (const list$<$ string $>$ \&path\_\-segments) const }
\label{classTemplateTree_a9ca0b3a59fc6f799889c951dd9360ce1}

\item 
\hypertarget{classTemplateTree_ad34d0ed0c124804f52d9092b1d474a1f}{
const \hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$ {\bfseries find\_\-node\_\-by\_\-type} (const list$<$ \hyperlink{classConfPathSegment}{ConfPathSegment} $>$ \&path\_\-segments) const }
\label{classTemplateTree_ad34d0ed0c124804f52d9092b1d474a1f}

\item 
\hypertarget{classTemplateTree_a9ba4dbabc5cce614c6fd2607be58c7f9}{
string {\bfseries path\_\-as\_\-string} ()}
\label{classTemplateTree_a9ba4dbabc5cce614c6fd2607be58c7f9}

\item 
\hypertarget{classTemplateTree_a52837527795aa027628cd0ae45033ac4}{
void {\bfseries add\_\-cmd} (char $\ast$cmd)  throw (ParseError)}
\label{classTemplateTree_a52837527795aa027628cd0ae45033ac4}

\item 
\hypertarget{classTemplateTree_a5bf548da05b9898da1e47064bc9f2c62}{
void {\bfseries add\_\-cmd\_\-action} (const string \&cmd, const list$<$ string $>$ \&action)  throw (ParseError)}
\label{classTemplateTree_a5bf548da05b9898da1e47064bc9f2c62}

\item 
\hypertarget{classTemplateTree_a2f58e317a7e5c11ab986e0ccb97136bb}{
string {\bfseries tree\_\-str} () const }
\label{classTemplateTree_a2f58e317a7e5c11ab986e0ccb97136bb}

\item 
\hypertarget{classTemplateTree_ae99bacde8a3728b24a0cae720f2ace3a}{
void {\bfseries register\_\-module} (const string \&name, \hyperlink{classModuleCommand}{ModuleCommand} $\ast$mc)}
\label{classTemplateTree_ae99bacde8a3728b24a0cae720f2ace3a}

\item 
\hypertarget{classTemplateTree_aff2395206f4830a78dcdc3cf19ca1b35}{
\hyperlink{classModuleCommand}{ModuleCommand} $\ast$ {\bfseries find\_\-module} (const string \&name)}
\label{classTemplateTree_aff2395206f4830a78dcdc3cf19ca1b35}

\item 
\hypertarget{classTemplateTree_a0d5b5517097d32195596e50e9102c795}{
bool {\bfseries check\_\-variable\_\-name} (const string \&s) const }
\label{classTemplateTree_a0d5b5517097d32195596e50e9102c795}

\item 
\hypertarget{classTemplateTree_a292be9191c4e379ad5cc2d2404490a5d}{
\hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$ {\bfseries root\_\-node} () const }
\label{classTemplateTree_a292be9191c4e379ad5cc2d2404490a5d}

\item 
\hypertarget{classTemplateTree_aca4c9d8339da63246646615e62d61aa0}{
const string \& {\bfseries xorp\_\-root\_\-dir} () const }
\label{classTemplateTree_aca4c9d8339da63246646615e62d61aa0}

\item 
\hypertarget{classTemplateTree_ad4a920d974f65b59d0409e92db630d06}{
bool {\bfseries verbose} () const }
\label{classTemplateTree_ad4a920d974f65b59d0409e92db630d06}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTemplateTree_a90f4bd22dc4e61ffd882a010020d5f8e}{
\hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$ {\bfseries new\_\-node} (\hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$parent, const string \&path, const string \&varname, int type, const string \&initializer)}
\label{classTemplateTree_a90f4bd22dc4e61ffd882a010020d5f8e}

\item 
\hypertarget{classTemplateTree_af2d4d66dbdc7d8f9bc647b266d4bfb5a}{
bool {\bfseries expand\_\-template\_\-tree} (string \&error\_\-msg)}
\label{classTemplateTree_af2d4d66dbdc7d8f9bc647b266d4bfb5a}

\item 
\hypertarget{classTemplateTree_a9e1b1285b2fb65c59477c1cb3af36870}{
bool {\bfseries check\_\-template\_\-tree} (string \&error\_\-msg)}
\label{classTemplateTree_a9e1b1285b2fb65c59477c1cb3af36870}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classTemplateTree_a87787defb3c6d17b01b53e3046a15b9e}{
\hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$ {\bfseries \_\-root\_\-node}}
\label{classTemplateTree_a87787defb3c6d17b01b53e3046a15b9e}

\item 
\hypertarget{classTemplateTree_ac5c35d68acaa87f7ee0cd99713880e96}{
\hyperlink{classTemplateTreeNode}{TemplateTreeNode} $\ast$ {\bfseries \_\-current\_\-node}}
\label{classTemplateTree_ac5c35d68acaa87f7ee0cd99713880e96}

\item 
\hypertarget{classTemplateTree_ab972e7193bb5880b28a98634aab38340}{
map$<$ string, \hyperlink{classModuleCommand}{ModuleCommand} $\ast$ $>$ {\bfseries \_\-registered\_\-modules}}
\label{classTemplateTree_ab972e7193bb5880b28a98634aab38340}

\item 
\hypertarget{classTemplateTree_aa9b4fc44e13667144a3a741b6a9a8877}{
list$<$ \hyperlink{classPathSegment}{PathSegment} $>$ {\bfseries \_\-path\_\-segments}}
\label{classTemplateTree_aa9b4fc44e13667144a3a741b6a9a8877}

\item 
\hypertarget{classTemplateTree_ab5bc1a75d6572c543d20ec3bea087f92}{
list$<$ size\_\-t $>$ {\bfseries \_\-segment\_\-lengths}}
\label{classTemplateTree_ab5bc1a75d6572c543d20ec3bea087f92}

\item 
\hypertarget{classTemplateTree_a01443ea6ed97aa27c8a7173954aa1e58}{
string {\bfseries \_\-xorp\_\-root\_\-dir}}
\label{classTemplateTree_a01443ea6ed97aa27c8a7173954aa1e58}

\item 
\hypertarget{classTemplateTree_a0123580377adca80a3c6eed66a048a92}{
bool {\bfseries \_\-verbose}}
\label{classTemplateTree_a0123580377adca80a3c6eed66a048a92}

\end{DoxyCompactItemize}


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