Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

ColorIterator Class Reference

Iterator over BLACK and WHITE and EMPTY. More...

#include <HexColor.hpp>

List of all members.

Public Member Functions

 ColorIterator ()
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

 ColorIterator (const ColorIterator &)
 Not implemented.
ColorIteratoroperator= (const ColorIterator &)
 Not implemented.

Private Attributes

int m_color

Detailed Description

Iterator over BLACK and WHITE and EMPTY.

Definition at line 86 of file HexColor.hpp.


Constructor & Destructor Documentation

ColorIterator::ColorIterator (  )  [inline]

Definition at line 89 of file HexColor.hpp.

ColorIterator::ColorIterator ( const ColorIterator  )  [private]

Not implemented.


Member Function Documentation

ColorIterator::operator bool (  )  const [inline]

Return true if iteration is valid, otherwise false.

Definition at line 106 of file HexColor.hpp.

References EMPTY, and m_color.

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

Return the value of the current element.

Definition at line 100 of file HexColor.hpp.

References m_color.

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

Advance the state of the iteration to the next element.

Definition at line 94 of file HexColor.hpp.

References m_color.

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

Not implemented.


Member Data Documentation

int ColorIterator::m_color [private]

Definition at line 112 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