\hypertarget{classBitmap_1_1const__iterator}{\section{Bitmap\-:\-:const\-\_\-iterator Class Reference}
\label{classBitmap_1_1const__iterator}\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}}
}


Iterator class.  




{\ttfamily \#include $<$Bitmap.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{Byte_8h_ae3a497195d617519e5353ea7b417940f}{Byte} $\ast$ \hyperlink{classBitmap_1_1const__iterator_ad343da1ee487414f27875137d3a69b80}{operator$\ast$} ()  throw (\-Dvi\-Error)
\begin{DoxyCompactList}\small\item\em Returns the current member of the set of rows returned by the iterator. \end{DoxyCompactList}\item 
\hyperlink{classBitmap_1_1const__iterator}{const\-\_\-iterator} \& \hyperlink{classBitmap_1_1const__iterator_a5575f4579236ea62223d0ae63dde1373}{operator++} ()  throw (\-Dvi\-Error)
\begin{DoxyCompactList}\small\item\em Increments the iterator. \end{DoxyCompactList}\item 
bool \hyperlink{classBitmap_1_1const__iterator_a30af2205232333c1c76e3216e826f1fb}{operator==} (const \hyperlink{classBitmap_1_1const__iterator}{const\-\_\-iterator} \&it) const 
\item 
bool \hyperlink{classBitmap_1_1const__iterator_abb0b83e3109e3445daf3c31bd8d00cf6}{operator!=} (const \hyperlink{classBitmap_1_1const__iterator}{const\-\_\-iterator} \&it) const 
\item 
\hyperlink{classBitmap_1_1const__iterator_acb9cf49bc6b9dcaef7b5c5cb446660cc}{$\sim$const\-\_\-iterator} ()
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classBitmap_1_1const__iterator_a08f4603d248cce6ab74c80f858f877b0}{Bitmap}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Iterator class. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classBitmap_1_1const__iterator_acb9cf49bc6b9dcaef7b5c5cb446660cc}{\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}!$\sim$const\-\_\-iterator@{$\sim$const\-\_\-iterator}}
\index{$\sim$const\-\_\-iterator@{$\sim$const\-\_\-iterator}!Bitmap::const_iterator@{Bitmap\-::const\-\_\-iterator}}
\subsubsection[{$\sim$const\-\_\-iterator}]{\setlength{\rightskip}{0pt plus 5cm}Bitmap\-::const\-\_\-iterator\-::$\sim$const\-\_\-iterator (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classBitmap_1_1const__iterator_acb9cf49bc6b9dcaef7b5c5cb446660cc}


\subsection{Member Function Documentation}
\hypertarget{classBitmap_1_1const__iterator_abb0b83e3109e3445daf3c31bd8d00cf6}{\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}!operator!=@{operator!=}}
\index{operator!=@{operator!=}!Bitmap::const_iterator@{Bitmap\-::const\-\_\-iterator}}
\subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}bool Bitmap\-::const\-\_\-iterator\-::operator!= (
\begin{DoxyParamCaption}
\item[{const {\bf const\-\_\-iterator} \&}]{it}
\end{DoxyParamCaption}
) const}}\label{classBitmap_1_1const__iterator_abb0b83e3109e3445daf3c31bd8d00cf6}
\hypertarget{classBitmap_1_1const__iterator_ad343da1ee487414f27875137d3a69b80}{\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}!operator$\ast$@{operator$\ast$}}
\index{operator$\ast$@{operator$\ast$}!Bitmap::const_iterator@{Bitmap\-::const\-\_\-iterator}}
\subsubsection[{operator$\ast$}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Byte} $\ast$ Bitmap\-::const\-\_\-iterator\-::operator$\ast$ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) throw  {\bf Dvi\-Error}) }}\label{classBitmap_1_1const__iterator_ad343da1ee487414f27875137d3a69b80}


Returns the current member of the set of rows returned by the iterator. 

This returns a pointer to an array of {\ttfamily Byte}, with elements {\ttfamily \mbox{[}0..W-\/1\mbox{]}} being guaranteed to be valid, where {\ttfamily W} is the width of the bitmap. If the bitmap is uncropped, this is the total width of the bitmap as returned by method \hyperlink{classBitmap_a279822481e831c280cb5fa147b57f2bd}{get\-Width}; if cropped, the width is the difference of the \mbox{[}2\mbox{]} and \mbox{[}0\mbox{]} elements of the array returned by \hyperlink{classBitmap_a49de69e462191c7aa2f28c7567d79f61}{bounding\-Box}.

\begin{DoxyReturn}{Returns}
pointer to an array of {\ttfamily Byte} 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em \hyperlink{classDviError}{Dvi\-Error}} & if the iterator is dereferenced after it has come to the end \\
\hline
\end{DoxyExceptions}
\hypertarget{classBitmap_1_1const__iterator_a5575f4579236ea62223d0ae63dde1373}{\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}!operator++@{operator++}}
\index{operator++@{operator++}!Bitmap::const_iterator@{Bitmap\-::const\-\_\-iterator}}
\subsubsection[{operator++}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Bitmap\-::const\-\_\-iterator} \& Bitmap\-::const\-\_\-iterator\-::operator++ (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) throw  {\bf Dvi\-Error}) }}\label{classBitmap_1_1const__iterator_a5575f4579236ea62223d0ae63dde1373}


Increments the iterator. 

If the bitmap is uncropped, all the rows in the bitmap will eventually be iterator over, namely the number of rows returned by method \hyperlink{classBitmap_ae896d56f53a86dad492c7bc785af8aa1}{get\-Height}; if it is cropped, the number of rows returned will be the difference between the \mbox{[}3\mbox{]} and \mbox{[}1\mbox{]} elements of the \hyperlink{classBitmap_a49de69e462191c7aa2f28c7567d79f61}{bounding\-Box} array.

\begin{DoxyReturn}{Returns}
the iterator 
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em \hyperlink{classDviError}{Dvi\-Error}} & if the iterator is incremented after it has come to the end \\
\hline
\end{DoxyExceptions}
\hypertarget{classBitmap_1_1const__iterator_a30af2205232333c1c76e3216e826f1fb}{\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}!operator==@{operator==}}
\index{operator==@{operator==}!Bitmap::const_iterator@{Bitmap\-::const\-\_\-iterator}}
\subsubsection[{operator==}]{\setlength{\rightskip}{0pt plus 5cm}bool Bitmap\-::const\-\_\-iterator\-::operator== (
\begin{DoxyParamCaption}
\item[{const {\bf const\-\_\-iterator} \&}]{it}
\end{DoxyParamCaption}
) const}}\label{classBitmap_1_1const__iterator_a30af2205232333c1c76e3216e826f1fb}


\subsection{Friends And Related Function Documentation}
\hypertarget{classBitmap_1_1const__iterator_a08f4603d248cce6ab74c80f858f877b0}{\index{Bitmap\-::const\-\_\-iterator@{Bitmap\-::const\-\_\-iterator}!Bitmap@{Bitmap}}
\index{Bitmap@{Bitmap}!Bitmap::const_iterator@{Bitmap\-::const\-\_\-iterator}}
\subsubsection[{Bitmap}]{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf Bitmap}\hspace{0.3cm}{\ttfamily [friend]}}}\label{classBitmap_1_1const__iterator_a08f4603d248cce6ab74c80f858f877b0}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{Bitmap_8h}{Bitmap.\-h}\item 
\hyperlink{Bitmap_8cc}{Bitmap.\-cc}\end{DoxyCompactItemize}
