\hypertarget{classXrlParser}{
\section{XrlParser Class Reference}
\label{classXrlParser}\index{XrlParser@{XrlParser}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlParser_a3f31599809a1d7cce54540719ffbc968}{
{\bfseries XrlParser} (\hyperlink{classXrlParserInput}{XrlParserInput} \&xpi)}
\label{classXrlParser_a3f31599809a1d7cce54540719ffbc968}

\item 
bool \hyperlink{classXrlParser_afca9d30b4ba6b24e5f1b078531897662}{start\_\-next} ()  throw (XrlParserInputException)
\begin{DoxyCompactList}\small\item\em Starts new parsing cycle. \item\end{DoxyCompactList}\item 
bool \hyperlink{classXrlParser_af6a80e77698648d96e262c2731d05499}{finished} () const 
\begin{DoxyCompactList}\small\item\em Check if input is exhausted. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlParser_a0b104f4395703342e38c1a4255a61a92}{
bool {\bfseries get} (string \&protocol, string \&target, string \&command, \hyperlink{classXrlArgs}{XrlArgs} \&args)  throw (XrlParseError)}
\label{classXrlParser_a0b104f4395703342e38c1a4255a61a92}

\item 
\hypertarget{classXrlParser_a12a468f7e7964bfbd44f595c88871276}{
bool {\bfseries get} (string \&protocol, string \&target, string \&command, \hyperlink{classXrlArgs}{XrlArgs} \&args, list$<$ \hyperlink{classXrlAtomSpell}{XrlAtomSpell} $>$ \&spells)  throw (XrlParseError)}
\label{classXrlParser_a12a468f7e7964bfbd44f595c88871276}

\item 
\hypertarget{classXrlParser_a8b75afd34c6950a1d89ff5f63f5759c6}{
bool {\bfseries get} (string \&xrl\_\-c\_\-str)  throw (XrlParseError)}
\label{classXrlParser_a8b75afd34c6950a1d89ff5f63f5759c6}

\item 
\hypertarget{classXrlParser_acead67a8babfda3a439f32f3fbf6f4dd}{
bool {\bfseries get\_\-return\_\-specs} (list$<$ \hyperlink{classXrlAtomSpell}{XrlAtomSpell} $>$ \&spells)}
\label{classXrlParser_acead67a8babfda3a439f32f3fbf6f4dd}

\item 
\hypertarget{classXrlParser_ad13a485acee2232d707f3d32f9ddef2d}{
const string \& {\bfseries input} () const }
\label{classXrlParser_ad13a485acee2232d707f3d32f9ddef2d}

\item 
bool \hyperlink{classXrlParser_aa6464db8a23a0e0b7ee6890f9af4a42a}{resync} ()
\begin{DoxyCompactList}\small\item\em Attempt to find a new XRL starting point after an error has occurred. \item\end{DoxyCompactList}\item 
\hypertarget{classXrlParser_ae052c95d89d3fefca73aea142e864a6b}{
const \hyperlink{classXrlParserInput}{XrlParserInput} \& {\bfseries parser\_\-input} () const }
\label{classXrlParser_ae052c95d89d3fefca73aea142e864a6b}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlParser_a6ee3a6ae9ac687344396994bbad77f7b}{
bool {\bfseries get} (string \&protocol, string \&target, string \&command, \hyperlink{classXrlArgs}{XrlArgs} $\ast$args, list$<$ \hyperlink{classXrlAtomSpell}{XrlAtomSpell} $>$ $\ast$spells)  throw (XrlParseError)}
\label{classXrlParser_a6ee3a6ae9ac687344396994bbad77f7b}

\item 
\hypertarget{classXrlParser_a32f3cb0ad2853e15a26dfa6ac7d15680}{
bool {\bfseries parse\_\-atoms\_\-and\_\-spells} (\hyperlink{classXrlArgs}{XrlArgs} $\ast$args, list$<$ \hyperlink{classXrlAtomSpell}{XrlAtomSpell} $>$ $\ast$spells)}
\label{classXrlParser_a32f3cb0ad2853e15a26dfa6ac7d15680}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classXrlParser_a82da071623c6893d09d6fae90738a3e9}{
\hyperlink{classXrlParserInput}{XrlParserInput} \& {\bfseries \_\-xpi}}
\label{classXrlParser_a82da071623c6893d09d6fae90738a3e9}

\item 
\hypertarget{classXrlParser_ad9fda979e8f1e75f81004d5259573acf}{
string {\bfseries \_\-input}}
\label{classXrlParser_ad9fda979e8f1e75f81004d5259573acf}

\item 
\hypertarget{classXrlParser_a26fb8ee2ceca0741d0ca8668f3e147aa}{
string::const\_\-iterator {\bfseries \_\-pos}}
\label{classXrlParser_a26fb8ee2ceca0741d0ca8668f3e147aa}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{classXrlParser_af6a80e77698648d96e262c2731d05499}{
\index{XrlParser@{XrlParser}!finished@{finished}}
\index{finished@{finished}!XrlParser@{XrlParser}}
\subsubsection[{finished}]{\setlength{\rightskip}{0pt plus 5cm}bool XrlParser::finished (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classXrlParser_af6a80e77698648d96e262c2731d05499}


Check if input is exhausted. 

\begin{DoxyReturn}{Returns}
true if input is exhausted, false otherwise. 
\end{DoxyReturn}
\hypertarget{classXrlParser_aa6464db8a23a0e0b7ee6890f9af4a42a}{
\index{XrlParser@{XrlParser}!resync@{resync}}
\index{resync@{resync}!XrlParser@{XrlParser}}
\subsubsection[{resync}]{\setlength{\rightskip}{0pt plus 5cm}bool XrlParser::resync (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{classXrlParser_aa6464db8a23a0e0b7ee6890f9af4a42a}


Attempt to find a new XRL starting point after an error has occurred. 

\begin{DoxyReturn}{Returns}
true if text resembling an XRL start is found. 
\end{DoxyReturn}
\hypertarget{classXrlParser_afca9d30b4ba6b24e5f1b078531897662}{
\index{XrlParser@{XrlParser}!start\_\-next@{start\_\-next}}
\index{start\_\-next@{start\_\-next}!XrlParser@{XrlParser}}
\subsubsection[{start\_\-next}]{\setlength{\rightskip}{0pt plus 5cm}bool XrlParser::start\_\-next (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)  throw ({\bf XrlParserInputException})}}
\label{classXrlParser_afca9d30b4ba6b24e5f1b078531897662}


Starts new parsing cycle. 

\begin{DoxyReturn}{Returns}
true upon success, false if there is no more data 
\end{DoxyReturn}


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