\hypertarget{classDumpIterator}{
\section{DumpIterator$<$ A $>$ Class Template Reference}
\label{classDumpIterator}\index{DumpIterator@{DumpIterator}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDumpIterator_aaf5679a03a000ace2a853fd58edbfda9}{
{\bfseries DumpIterator} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$peer, const list$<$ const \hyperlink{classPeerTableInfo}{PeerTableInfo}$<$ A $>$ $\ast$ $>$ \&peers\_\-to\_\-dump)}
\label{classDumpIterator_aaf5679a03a000ace2a853fd58edbfda9}

\item 
\hypertarget{classDumpIterator_a46ec66ac1c32b17f23cd812cc2ed4ae7}{
string {\bfseries str} () const }
\label{classDumpIterator_a46ec66ac1c32b17f23cd812cc2ed4ae7}

\item 
\hypertarget{classDumpIterator_a2f8e9b00ddb269e1fa8555ece7830a90}{
void {\bfseries route\_\-dump} (const \hyperlink{classInternalMessage}{InternalMessage}$<$ A $>$ \&rtmsg)}
\label{classDumpIterator_a2f8e9b00ddb269e1fa8555ece7830a90}

\item 
\hypertarget{classDumpIterator_a60fd81224bf60beb4c0e1995dd6a3eba}{
const \hyperlink{classPeerHandler}{PeerHandler} $\ast$ {\bfseries current\_\-peer} () const }
\label{classDumpIterator_a60fd81224bf60beb4c0e1995dd6a3eba}

\item 
\hypertarget{classDumpIterator_aadf9ee51ba42e661e422e49743e73af6}{
const \hyperlink{classPeerHandler}{PeerHandler} $\ast$ {\bfseries peer\_\-to\_\-dump\_\-to} () const }
\label{classDumpIterator_aadf9ee51ba42e661e422e49743e73af6}

\item 
\hypertarget{classDumpIterator_a584b17e984ea782074b6f217cb2cd6fb}{
bool {\bfseries is\_\-valid} () const }
\label{classDumpIterator_a584b17e984ea782074b6f217cb2cd6fb}

\item 
\hypertarget{classDumpIterator_a75c7b6711b9dc8c5497f4bf8a622b7bb}{
bool {\bfseries route\_\-iterator\_\-is\_\-valid} () const }
\label{classDumpIterator_a75c7b6711b9dc8c5497f4bf8a622b7bb}

\item 
\hypertarget{classDumpIterator_af91dc391e90a52c70dc5318d6c9bf9c2}{
bool {\bfseries next\_\-peer} ()}
\label{classDumpIterator_af91dc391e90a52c70dc5318d6c9bf9c2}

\item 
\hypertarget{classDumpIterator_a2747b7aa3657695b982dde73f52f1571}{
const \hyperlink{classBgpTrie}{BgpTrie}$<$ A $>$::iterator \& {\bfseries route\_\-iterator} () const }
\label{classDumpIterator_a2747b7aa3657695b982dde73f52f1571}

\item 
\hypertarget{classDumpIterator_a5b1435cb5e40499f3ec53301f9f840cf}{
const \hyperlink{classRefTrie}{RefTrie}$<$ A, const \hyperlink{classAggregateRoute}{AggregateRoute}$<$ A $>$ $>$::iterator \& {\bfseries aggr\_\-iterator} () const }
\label{classDumpIterator_a5b1435cb5e40499f3ec53301f9f840cf}

\item 
\hypertarget{classDumpIterator_a12158bccf810ec18e084bd638e153f7a}{
void {\bfseries set\_\-route\_\-iterator} (typename \hyperlink{classBgpTrie}{BgpTrie}$<$ A $>$::iterator \&new\_\-iter)}
\label{classDumpIterator_a12158bccf810ec18e084bd638e153f7a}

\item 
\hypertarget{classDumpIterator_afe860b883dddfec7b8d44c715e0def6f}{
void {\bfseries set\_\-aggr\_\-iterator} (typename \hyperlink{classRefTrie}{RefTrie}$<$ A, const \hyperlink{classAggregateRoute}{AggregateRoute}$<$ A $>$ $>$::iterator \&new\_\-iter)}
\label{classDumpIterator_afe860b883dddfec7b8d44c715e0def6f}

\item 
\hypertarget{classDumpIterator_a3545d6bfdddca0e52aa1eb9f03839a98}{
bool {\bfseries route\_\-change\_\-is\_\-valid} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$origin\_\-peer, const \hyperlink{classIPNet}{IPNet}$<$ A $>$ \&net, uint32\_\-t genid, RouteQueueOp op)}
\label{classDumpIterator_a3545d6bfdddca0e52aa1eb9f03839a98}

\item 
void \hyperlink{classDumpIterator_ad477ac391c1c9f435dd638caf3c01169}{peering\_\-is\_\-down} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$peer, uint32\_\-t genid)
\begin{DoxyCompactList}\small\item\em A peer which is down but still deleting routes when this peer is brought up. \item\end{DoxyCompactList}\item 
\hypertarget{classDumpIterator_a500d7ac86b90d49d852d8ffe396da1ce}{
void \hyperlink{classDumpIterator_a500d7ac86b90d49d852d8ffe396da1ce}{peering\_\-went\_\-down} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$peer, uint32\_\-t genid)}
\label{classDumpIterator_a500d7ac86b90d49d852d8ffe396da1ce}

\begin{DoxyCompactList}\small\item\em A peer which does down while dumping is taking place. \item\end{DoxyCompactList}\item 
\hypertarget{classDumpIterator_a3ca25e50645ae3b559b2a15935abf1bc}{
void \hyperlink{classDumpIterator_a3ca25e50645ae3b559b2a15935abf1bc}{peering\_\-down\_\-complete} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$peer, uint32\_\-t genid)}
\label{classDumpIterator_a3ca25e50645ae3b559b2a15935abf1bc}

\begin{DoxyCompactList}\small\item\em A peer that is down and has now completed deleting all its routes. \item\end{DoxyCompactList}\item 
\hypertarget{classDumpIterator_a0cab54b2eea6c40cefdb5f0d2c0ca3cb}{
void \hyperlink{classDumpIterator_a0cab54b2eea6c40cefdb5f0d2c0ca3cb}{peering\_\-came\_\-up} (const \hyperlink{classPeerHandler}{PeerHandler} $\ast$peer, uint32\_\-t genid)}
\label{classDumpIterator_a0cab54b2eea6c40cefdb5f0d2c0ca3cb}

\begin{DoxyCompactList}\small\item\em A peer that was down came up. \item\end{DoxyCompactList}\item 
bool \hyperlink{classDumpIterator_a5362c5efaa78ca862ce982933018c7ef}{waiting\_\-for\_\-deletion\_\-completion} () const 
\item 
bool \hyperlink{classDumpIterator_aa12a3d904867b5518d3d4e762fa4a2d3}{iterator\_\-got\_\-moved} (\hyperlink{classIPNet}{IPNet}$<$ A $>$ new\_\-net) const 
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classDumpIterator_aa46bef387df74ea248fa3c5c4eb55b80}{
const \hyperlink{classPeerHandler}{PeerHandler} $\ast$ {\bfseries \_\-peer}}
\label{classDumpIterator_aa46bef387df74ea248fa3c5c4eb55b80}

\item 
\hypertarget{classDumpIterator_ab8a8d64ad522080d651155c0c4a26538}{
list$<$ \hyperlink{classPeerTableInfo}{PeerTableInfo}$<$ A $>$ $>$ \hyperlink{classDumpIterator_ab8a8d64ad522080d651155c0c4a26538}{\_\-peers\_\-to\_\-dump}}
\label{classDumpIterator_ab8a8d64ad522080d651155c0c4a26538}

\begin{DoxyCompactList}\small\item\em The list of peers that remain to be dumped. \item\end{DoxyCompactList}\item 
\hypertarget{classDumpIterator_aac1c2007afec21ba6782629ada64e497}{
list$<$ \hyperlink{classPeerTableInfo}{PeerTableInfo}$<$ A $>$ $>$::iterator {\bfseries \_\-current\_\-peer}}
\label{classDumpIterator_aac1c2007afec21ba6782629ada64e497}

\item 
\hypertarget{classDumpIterator_a05f7099d93cf22242f1b9ec360fcb822}{
\hyperlink{classPeerTableInfo}{PeerTableInfo}$<$ A $>$ $\ast$ {\bfseries \_\-current\_\-peer\_\-debug}}
\label{classDumpIterator_a05f7099d93cf22242f1b9ec360fcb822}

\item 
\hypertarget{classDumpIterator_a5758062afd6fd5143f36a36bc85f2290}{
bool {\bfseries \_\-route\_\-iterator\_\-is\_\-valid}}
\label{classDumpIterator_a5758062afd6fd5143f36a36bc85f2290}

\item 
\hypertarget{classDumpIterator_ae500b83e5dc5a6fa59d808e017329943}{
\hyperlink{classBgpTrie}{BgpTrie}$<$ A $>$::iterator {\bfseries \_\-route\_\-iterator}}
\label{classDumpIterator_ae500b83e5dc5a6fa59d808e017329943}

\item 
\hypertarget{classDumpIterator_aa5dddb58c5dc1a91d83b87a4eaa4daff}{
\hyperlink{classRefTrie}{RefTrie}$<$ A, const \hyperlink{classAggregateRoute}{AggregateRoute}$<$ A $>$ $>$::iterator {\bfseries \_\-aggr\_\-iterator}}
\label{classDumpIterator_aa5dddb58c5dc1a91d83b87a4eaa4daff}

\item 
\hypertarget{classDumpIterator_ae5f6e09ae4fc110993088be0b59d9bd2}{
bool {\bfseries \_\-routes\_\-dumped\_\-on\_\-current\_\-peer}}
\label{classDumpIterator_ae5f6e09ae4fc110993088be0b59d9bd2}

\item 
\hypertarget{classDumpIterator_a2806be2cf5b5345bf21bf5ccc3d1c4e0}{
\hyperlink{classIPNet}{IPNet}$<$ A $>$ {\bfseries \_\-last\_\-dumped\_\-net}}
\label{classDumpIterator_a2806be2cf5b5345bf21bf5ccc3d1c4e0}

\item 
\hypertarget{classDumpIterator_aa085e5cee90bd35ecd61bcc43c195042}{
map$<$ const \hyperlink{classPeerHandler}{PeerHandler} $\ast$, \hyperlink{classPeerDumpState}{PeerDumpState}$<$ A $>$ $\ast$ $>$ {\bfseries \_\-peers}}
\label{classDumpIterator_aa085e5cee90bd35ecd61bcc43c195042}

\end{DoxyCompactItemize}
\subsubsection*{template$<$class A$>$ class DumpIterator$<$ A $>$}



\subsection{Member Function Documentation}
\hypertarget{classDumpIterator_aa12a3d904867b5518d3d4e762fa4a2d3}{
\index{DumpIterator@{DumpIterator}!iterator\_\-got\_\-moved@{iterator\_\-got\_\-moved}}
\index{iterator\_\-got\_\-moved@{iterator\_\-got\_\-moved}!DumpIterator@{DumpIterator}}
\subsubsection[{iterator\_\-got\_\-moved}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A$>$ bool {\bf DumpIterator}$<$ A $>$::iterator\_\-got\_\-moved (
\begin{DoxyParamCaption}
\item[{{\bf IPNet}$<$ A $>$}]{new\_\-net}
\end{DoxyParamCaption}
) const}}
\label{classDumpIterator_aa12a3d904867b5518d3d4e762fa4a2d3}
\begin{DoxyReturn}{Returns}
true if \hyperlink{protocolthe-p}{the} iterator got moved since \hyperlink{protocolthe-p}{the} last delete 
\end{DoxyReturn}
\hypertarget{classDumpIterator_ad477ac391c1c9f435dd638caf3c01169}{
\index{DumpIterator@{DumpIterator}!peering\_\-is\_\-down@{peering\_\-is\_\-down}}
\index{peering\_\-is\_\-down@{peering\_\-is\_\-down}!DumpIterator@{DumpIterator}}
\subsubsection[{peering\_\-is\_\-down}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A $>$ void {\bf DumpIterator}$<$ A $>$::peering\_\-is\_\-down (
\begin{DoxyParamCaption}
\item[{const {\bf PeerHandler} $\ast$}]{peer, }
\item[{uint32\_\-t}]{genid}
\end{DoxyParamCaption}
)}}
\label{classDumpIterator_ad477ac391c1c9f435dd638caf3c01169}


A peer which is down but still deleting routes when this peer is brought up. 

peering\_\-is\_\-down is called on \hyperlink{classDumpTable}{DumpTable} startup to indicate peerings that already had DeletionTables in progress. \hypertarget{classDumpIterator_a5362c5efaa78ca862ce982933018c7ef}{
\index{DumpIterator@{DumpIterator}!waiting\_\-for\_\-deletion\_\-completion@{waiting\_\-for\_\-deletion\_\-completion}}
\index{waiting\_\-for\_\-deletion\_\-completion@{waiting\_\-for\_\-deletion\_\-completion}!DumpIterator@{DumpIterator}}
\subsubsection[{waiting\_\-for\_\-deletion\_\-completion}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class A $>$ bool {\bf DumpIterator}$<$ A $>$::waiting\_\-for\_\-deletion\_\-completion (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}}
\label{classDumpIterator_a5362c5efaa78ca862ce982933018c7ef}
\begin{DoxyReturn}{Returns}
true while peers we deleting routes. 
\end{DoxyReturn}


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