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