High-Performance Open-Source Archive
|
dvi2bitmap
dvi2bitmap1.0
|
Iterator class. More...
#include <Bitmap.h>
Public Member Functions | |
| Byte * | operator* () throw (DviError) |
| Returns the current member of the set of rows returned by the iterator. More... | |
| const_iterator & | operator++ () throw (DviError) |
| Increments the iterator. More... | |
| bool | operator== (const const_iterator &it) const |
| bool | operator!= (const const_iterator &it) const |
| ~const_iterator () | |
Friends | |
| class | Bitmap |
Iterator class.
| Bitmap::const_iterator::~const_iterator | ( | ) |
| bool Bitmap::const_iterator::operator!= | ( | const const_iterator & | it) | const |
Returns the current member of the set of rows returned by the iterator.
This returns a pointer to an array of Byte, with elements [0..W-1] being guaranteed to be valid, where W is the width of the bitmap. If the bitmap is uncropped, this is the total width of the bitmap as returned by method getWidth; if cropped, the width is the difference of the [2] and [0] elements of the array returned by boundingBox.
Byte | DviError | if the iterator is dereferenced after it has come to the end |
| Bitmap::const_iterator & Bitmap::const_iterator::operator++ | ( | ) | ||
| throw | ( | DviError | ||
| ) | ||||
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 getHeight; if it is cropped, the number of rows returned will be the difference between the [3] and [1] elements of the boundingBox array.
| DviError | if the iterator is incremented after it has come to the end |
| bool Bitmap::const_iterator::operator== | ( | const const_iterator & | it) | const |
|
friend |
1.8.4
Need mirroring services?
Contact our team at info@vpspulse.com.
Mirror powered by VPSpulse
Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.