| 1 |
\hypertarget{classForwardCDBG}{}\section{Forward\+C\+D\+BG$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$ Class Template Reference} |
| 2 |
\label{classForwardCDBG}\index{Forward\+C\+D\+B\+G$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$@{Forward\+C\+D\+B\+G$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$}} |
| 3 |
|
| 4 |
|
| 5 |
Wrapper for class \hyperlink{classneighborIterator}{neighbor\+Iterator} to iterate over the predecessors of a reference unitig used in a \hyperlink{classUnitigMap}{Unitig\+Map} object. |
| 6 |
|
| 7 |
|
| 8 |
\subsection*{Public Member Functions} |
| 9 |
\begin{DoxyCompactItemize} |
| 10 |
\item |
| 11 |
\hyperlink{classForwardCDBG_ae4cc2b8a705fb9555fba4f31bfcc7bdb}{Forward\+C\+D\+BG} (const \hyperlink{classUnitigMap}{Unitig\+Map}$<$ U, G, is\+\_\+const $>$ \&um\+\_\+) |
| 12 |
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item |
| 13 |
bool \hyperlink{classForwardCDBG_a17b11e73f1754c52ff4bb771bdefca08}{has\+Successors} () const |
| 14 |
\begin{DoxyCompactList}\small\item\em Check if the unitig has at least one successor. \end{DoxyCompactList}\item |
| 15 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$ U, G, is\+\_\+const $>$ \hyperlink{classForwardCDBG_a18fd34268b50793eabde303c3e9ed5db}{begin} () const |
| 16 |
\begin{DoxyCompactList}\small\item\em Return an iterator over the successors of a reference unitig. \end{DoxyCompactList}\item |
| 17 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$ U, G, is\+\_\+const $>$ \hyperlink{classForwardCDBG_a83c2f8b929022aa77289177ec5ce7869}{end} () const |
| 18 |
\begin{DoxyCompactList}\small\item\em Return an iterator over the past-\/the-\/last successor of a reference unitig. \end{DoxyCompactList}\end{DoxyCompactItemize} |
| 19 |
|
| 20 |
|
| 21 |
\subsection{Detailed Description} |
| 22 |
\subsubsection*{template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$\newline |
| 23 |
class Forward\+C\+D\+B\+G$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$} |
| 24 |
|
| 25 |
Wrapper for class \hyperlink{classneighborIterator}{neighbor\+Iterator} to iterate over the predecessors of a reference unitig used in a \hyperlink{classUnitigMap}{Unitig\+Map} object. |
| 26 |
|
| 27 |
A \hyperlink{classForwardCDBG}{Forward\+C\+D\+BG} object has 3 template parameters\+: the type of data associated with the unitigs of the graph, the type of data associated with the graph and a boolean indicating if this is a constant \hyperlink{classneighborIterator}{neighbor\+Iterator} or not. Note that you are supposed to obtain an instance of this class from \hyperlink{classUnitigMap_a5b2894e0f78e6b003d06a03a49904b59}{Unitig\+Map\+::get\+Successors()} so you shouldn\textquotesingle{}t have to instantiate an object \hyperlink{classForwardCDBG}{Forward\+C\+D\+BG} and its template parameters yourself. The unitig data and graph data types should be the same as the ones used for the \hyperlink{classCompactedDBG}{Compacted\+D\+BG} the iterator is from. No specific order (such as a lexicographic one) is assumed during iteration. |
| 28 |
|
| 29 |
\subsection{Constructor \& Destructor Documentation} |
| 30 |
\mbox{\Hypertarget{classForwardCDBG_ae4cc2b8a705fb9555fba4f31bfcc7bdb}\label{classForwardCDBG_ae4cc2b8a705fb9555fba4f31bfcc7bdb}} |
| 31 |
\index{Forward\+C\+D\+BG@{Forward\+C\+D\+BG}!Forward\+C\+D\+BG@{Forward\+C\+D\+BG}} |
| 32 |
\index{Forward\+C\+D\+BG@{Forward\+C\+D\+BG}!Forward\+C\+D\+BG@{Forward\+C\+D\+BG}} |
| 33 |
\subsubsection{\texorpdfstring{Forward\+C\+D\+B\+G()}{ForwardCDBG()}} |
| 34 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 35 |
\hyperlink{classForwardCDBG}{Forward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::\hyperlink{classForwardCDBG}{Forward\+C\+D\+BG} (\begin{DoxyParamCaption}\item[{const \hyperlink{classUnitigMap}{Unitig\+Map}$<$ U, G, is\+\_\+const $>$ \&}]{um\+\_\+ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}} |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
Constructor. |
| 40 |
|
| 41 |
|
| 42 |
\begin{DoxyParams}{Parameters} |
| 43 |
{\em um\+\_\+} & is a \hyperlink{classUnitigMap}{Unitig\+Map} object\+: the wrapper will provide an iterator over the successors of the \hyperlink{classUnitigMap}{Unitig\+Map} reference unitig \\ |
| 44 |
\hline |
| 45 |
\end{DoxyParams} |
| 46 |
|
| 47 |
|
| 48 |
\subsection{Member Function Documentation} |
| 49 |
\mbox{\Hypertarget{classForwardCDBG_a18fd34268b50793eabde303c3e9ed5db}\label{classForwardCDBG_a18fd34268b50793eabde303c3e9ed5db}} |
| 50 |
\index{Forward\+C\+D\+BG@{Forward\+C\+D\+BG}!begin@{begin}} |
| 51 |
\index{begin@{begin}!Forward\+C\+D\+BG@{Forward\+C\+D\+BG}} |
| 52 |
\subsubsection{\texorpdfstring{begin()}{begin()}} |
| 53 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 54 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$U, G, is\+\_\+const$>$ \hyperlink{classForwardCDBG}{Forward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} |
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
Return an iterator over the successors of a reference unitig. |
| 59 |
|
| 60 |
The returned iterator is initialized over the first such successor, if there is one. \begin{DoxyReturn}{Returns} |
| 61 |
an iterator over the successors of a reference unitig. It is initialized over the first such successor, if there is one. |
| 62 |
\end{DoxyReturn} |
| 63 |
\mbox{\Hypertarget{classForwardCDBG_a83c2f8b929022aa77289177ec5ce7869}\label{classForwardCDBG_a83c2f8b929022aa77289177ec5ce7869}} |
| 64 |
\index{Forward\+C\+D\+BG@{Forward\+C\+D\+BG}!end@{end}} |
| 65 |
\index{end@{end}!Forward\+C\+D\+BG@{Forward\+C\+D\+BG}} |
| 66 |
\subsubsection{\texorpdfstring{end()}{end()}} |
| 67 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 68 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$U, G, is\+\_\+const$>$ \hyperlink{classForwardCDBG}{Forward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::end (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
Return an iterator over the past-\/the-\/last successor of a reference unitig. |
| 73 |
|
| 74 |
\begin{DoxyReturn}{Returns} |
| 75 |
an iterator over the past-\/the-\/last successor of a reference unitig. |
| 76 |
\end{DoxyReturn} |
| 77 |
\mbox{\Hypertarget{classForwardCDBG_a17b11e73f1754c52ff4bb771bdefca08}\label{classForwardCDBG_a17b11e73f1754c52ff4bb771bdefca08}} |
| 78 |
\index{Forward\+C\+D\+BG@{Forward\+C\+D\+BG}!has\+Successors@{has\+Successors}} |
| 79 |
\index{has\+Successors@{has\+Successors}!Forward\+C\+D\+BG@{Forward\+C\+D\+BG}} |
| 80 |
\subsubsection{\texorpdfstring{has\+Successors()}{hasSuccessors()}} |
| 81 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 82 |
bool \hyperlink{classForwardCDBG}{Forward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::has\+Successors (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
Check if the unitig has at least one successor. |
| 87 |
|
| 88 |
\begin{DoxyReturn}{Returns} |
| 89 |
a boolean indicating if the unitig has at least one successor (true) or not (false). |
| 90 |
\end{DoxyReturn} |
| 91 |
|
| 92 |
|
| 93 |
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} |
| 94 |
\item |
| 95 |
src/\hyperlink{NeighborIterator_8hpp}{Neighbor\+Iterator.\+hpp}\end{DoxyCompactItemize} |