Zoltan Hudak / zbar

Dependents:   BarcodeReader_F103

Embed: (wiki syntax)

« Back to documentation index

Symbol::PointIterator Class Reference

Symbol::PointIterator Class Reference

iteration over Point objects in a symbol location polygon. More...

#include <Symbol.h>

Public Member Functions

 PointIterator (const Symbol *sym=NULL, int index=0)
 constructor.
 PointIterator (const PointIterator &iter)
 constructor.
 ~PointIterator ()
 destructor.
PointIteratoroperator++ ()
 advance iterator to next Point.
const Point operator* () const
 retrieve currently referenced Point.
bool operator== (const PointIterator &iter) const
 test if two iterators refer to the same Point in the same Symbol.
bool operator!= (const PointIterator &iter) const
 test if two iterators refer to the same Point in the same Symbol.

Detailed Description

iteration over Point objects in a symbol location polygon.

Definition at line 122 of file Symbol.h.


Constructor & Destructor Documentation

PointIterator ( const Symbol sym = NULL,
int  index = 0 
)

constructor.

Definition at line 127 of file Symbol.h.

PointIterator ( const PointIterator iter )

constructor.

Definition at line 139 of file Symbol.h.

~PointIterator (  )

destructor.

Definition at line 147 of file Symbol.h.


Member Function Documentation

bool operator!= ( const PointIterator iter ) const

test if two iterators refer to the same Point in the same Symbol.

Definition at line 179 of file Symbol.h.

const Point operator* (  ) const

retrieve currently referenced Point.

Definition at line 162 of file Symbol.h.

PointIterator& operator++ (  )

advance iterator to next Point.

Definition at line 153 of file Symbol.h.

bool operator== ( const PointIterator iter ) const

test if two iterators refer to the same Point in the same Symbol.

Definition at line 171 of file Symbol.h.