Iterator over BLACK and WHITE and EMPTY. More...
#include <HexColor.hpp>
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. | |
ColorIterator & | operator= (const ColorIterator &) |
Not implemented. | |
Private Attributes | |
int | m_color |
Iterator over BLACK and WHITE and EMPTY.
Definition at line 86 of file HexColor.hpp.
ColorIterator::ColorIterator | ( | ) | [inline] |
Definition at line 89 of file HexColor.hpp.
ColorIterator::ColorIterator | ( | const ColorIterator & | ) | [private] |
Not implemented.
ColorIterator::operator bool | ( | ) | const [inline] |
Return true if iteration is valid, otherwise false.
Definition at line 106 of file HexColor.hpp.
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.
int ColorIterator::m_color [private] |
Definition at line 112 of file HexColor.hpp.
Referenced by operator bool(), operator*(), and operator++().