Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

BWIterator Class Reference

Iterator over BLACK and WHITE. More...

#include <HexColor.hpp>

List of all members.

Public Member Functions

 BWIterator ()
void operator++ ()
 Advance the state of the iteration to the next element.
HexColor operator* () const
 Return the value of the current element.
 operator bool () const
 Return true if iteration is valid, otherwise false.

Private Member Functions

 BWIterator (const BWIterator &)
 Not implemented.
BWIteratoroperator= (const BWIterator &)
 Not implemented.

Private Attributes

int m_color

Detailed Description

Iterator over BLACK and WHITE.

Definition at line 50 of file HexColor.hpp.


Constructor & Destructor Documentation

BWIterator::BWIterator (  )  [inline]

Definition at line 53 of file HexColor.hpp.

BWIterator::BWIterator ( const BWIterator  )  [private]

Not implemented.


Member Function Documentation

BWIterator::operator bool (  )  const [inline]

Return true if iteration is valid, otherwise false.

Definition at line 70 of file HexColor.hpp.

References m_color, and WHITE.

HexColor BWIterator::operator* (  )  const [inline]

Return the value of the current element.

Definition at line 64 of file HexColor.hpp.

References m_color.

void BWIterator::operator++ (  )  [inline]

Advance the state of the iteration to the next element.

Definition at line 58 of file HexColor.hpp.

References m_color.

BWIterator& BWIterator::operator= ( const BWIterator  )  [private]

Not implemented.


Member Data Documentation

int BWIterator::m_color [private]

Definition at line 76 of file HexColor.hpp.

Referenced by operator bool(), operator*(), and operator++().


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


6 Jan 2011 Doxygen 1.6.3