ZBar Bar Code Reader Library  version 0.10
zbar::SymbolIterator Class Reference

iteration over Symbol result objects in a scanned Image or SymbolSet. More...

Inheritance diagram for zbar::SymbolIterator:
Collaboration diagram for zbar::SymbolIterator:

Public Member Functions

 SymbolIterator ()
 default constructor. More...
 
 SymbolIterator (const SymbolSet &syms)
 constructor. More...
 
 SymbolIterator (const SymbolIterator &iter)
 copy constructor. More...
 
 ~SymbolIterator ()
 
const SymbolIterator end () const
 
bool operator!= (const SymbolIterator &iter) const
 test if two iterators refer to the same Symbol More...
 
const Symbol operator* () const
 retrieve currently referenced Symbol. More...
 
SymbolIteratoroperator++ ()
 advance iterator to next Symbol. More...
 
const Symboloperator-> () const
 access currently referenced Symbol. More...
 
bool operator== (const SymbolIterator &iter) const
 test if two iterators refer to the same Symbol More...
 

Private Attributes

Symbol _sym
 
SymbolSet _syms
 

Detailed Description

iteration over Symbol result objects in a scanned Image or SymbolSet.

Constructor & Destructor Documentation

zbar::SymbolIterator::SymbolIterator ( )
inline

default constructor.

zbar::SymbolIterator::SymbolIterator ( const SymbolSet syms)
inline

constructor.

References zbar::SymbolSet::_syms, and zbar::zbar_symbol_set_first_symbol().

Here is the call graph for this function:

zbar::SymbolIterator::SymbolIterator ( const SymbolIterator iter)
inline

copy constructor.

References zbar::SymbolSet::_syms, and zbar::zbar_symbol_set_first_symbol().

Here is the call graph for this function:

zbar::SymbolIterator::~SymbolIterator ( )
inline

Member Function Documentation

const SymbolIterator zbar::SymbolIterator::end ( ) const
inline
bool zbar::SymbolIterator::operator!= ( const SymbolIterator iter) const
inline

test if two iterators refer to the same Symbol

const Symbol zbar::SymbolIterator::operator* ( ) const
inline

retrieve currently referenced Symbol.

SymbolIterator& zbar::SymbolIterator::operator++ ( )
inline

advance iterator to next Symbol.

References zbar::SymbolSet::_syms, zbar::zbar_symbol_next(), and zbar::zbar_symbol_set_first_symbol().

Here is the call graph for this function:

const Symbol* zbar::SymbolIterator::operator-> ( ) const
inline

access currently referenced Symbol.

bool zbar::SymbolIterator::operator== ( const SymbolIterator iter) const
inline

test if two iterators refer to the same Symbol

References _sym.

Member Data Documentation

Symbol zbar::SymbolIterator::_sym
private

Referenced by operator==().

SymbolSet zbar::SymbolIterator::_syms
private

The documentation for this class was generated from the following file: