\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.  


{\tt \#include $<$Bitmap.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{Byte_8h_a1}{Byte} $\ast$ \hyperlink{classBitmap_1_1const__iterator_a0}{operator $\ast$} ()  throw (Dvi\-Error)
\begin{CompactList}\small\item\em Returns the current member of the set of rows returned by the iterator. \item\end{CompactList}\item 
\hyperlink{classBitmap_1_1const__iterator}{const\_\-iterator} \& \hyperlink{classBitmap_1_1const__iterator_a1}{operator++} ()  throw (Dvi\-Error)
\begin{CompactList}\small\item\em Increments the iterator. \item\end{CompactList}\item 
bool \hyperlink{classBitmap_1_1const__iterator_a2}{operator==} (const \hyperlink{classBitmap_1_1const__iterator}{const\_\-iterator} \&it) const
\item 
bool \hyperlink{classBitmap_1_1const__iterator_a3}{operator!=} (const \hyperlink{classBitmap_1_1const__iterator}{const\_\-iterator} \&it) const
\item 
\hyperlink{classBitmap_1_1const__iterator_a4}{$\sim$const\_\-iterator} ()
\end{CompactItemize}


\subsection{Detailed Description}
Iterator class. 



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




\subsection{Member Function Documentation}
\hypertarget{classBitmap_1_1const__iterator_a0}{
\index{Bitmap::const_iterator@{Bitmap::const\_\-iterator}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!Bitmap::const_iterator@{Bitmap::const\_\-iterator}}
\subsubsection[operator $\ast$]{\setlength{\rightskip}{0pt plus 5cm}\hyperlink{Byte_8h_a1}{Byte} $\ast$ Bitmap::const\_\-iterator::operator $\ast$ ()  throw (\hyperlink{classDviError}{Dvi\-Error})}}
\label{classBitmap_1_1const__iterator_a0}


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

This returns a pointer to an array of {\tt Byte}, with elements {\tt \mbox{[}0..W-1\mbox{]}} being guaranteed to be valid, where {\tt 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_a17}{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_a16}{bounding\-Box}.

\begin{Desc}
\item[Returns:]pointer to an array of {\tt Byte} \end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em Dvi\-Error}]if the iterator is dereferenced after it has come to the end \end{description}
\end{Desc}
\hypertarget{classBitmap_1_1const__iterator_a3}{
\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!= (const \hyperlink{classBitmap_1_1const__iterator}{const\_\-iterator} \& {\em it}) const}}
\label{classBitmap_1_1const__iterator_a3}


\hypertarget{classBitmap_1_1const__iterator_a1}{
\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}\hyperlink{classBitmap_1_1const__iterator}{Bitmap::const\_\-iterator} \& Bitmap::const\_\-iterator::operator++ ()  throw (\hyperlink{classDviError}{Dvi\-Error})}}
\label{classBitmap_1_1const__iterator_a1}


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_a18}{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_a16}{bounding\-Box} array.

\begin{Desc}
\item[Returns:]the iterator \end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em Dvi\-Error}]if the iterator is incremented after it has come to the end \end{description}
\end{Desc}
\hypertarget{classBitmap_1_1const__iterator_a2}{
\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== (const \hyperlink{classBitmap_1_1const__iterator}{const\_\-iterator} \& {\em it}) const}}
\label{classBitmap_1_1const__iterator_a2}




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