iteration over Point objects in a symbol location polygon. More...
Public Member Functions | |
PointIterator (const Symbol *sym=NULL, int index=0) | |
constructor. More... | |
PointIterator (const PointIterator &iter) | |
constructor. More... | |
~PointIterator () | |
destructor. More... | |
bool | operator!= (const PointIterator &iter) const |
test if two iterators refer to the same Point in the same Symbol. More... | |
const Point | operator* () const |
retrieve currently referenced Point. More... | |
PointIterator & | operator++ () |
advance iterator to next Point. More... | |
bool | operator== (const PointIterator &iter) const |
test if two iterators refer to the same Point in the same Symbol. More... | |
Private Attributes | |
int | _index |
const Symbol * | _sym |
iteration over Point objects in a symbol location polygon.
|
inline |
|
inline |
constructor.
|
inline |
destructor.
|
inline |
|
inline |
retrieve currently referenced Point.
References zbar::zbar_symbol_get_loc_x(), and zbar::zbar_symbol_get_loc_y().
|
inline |
advance iterator to next Point.
References zbar::zbar_symbol_get_loc_size().
|
inline |
|
private |
Referenced by operator==().
|
private |
Referenced by operator==().