#include <SgBoardConst.h>
Inheritance diagram for SgLineIterator:

e.g. all points on the third line.
Definition at line 266 of file SgBoardConst.h.
Public Member Functions | |
| SgLineIterator (const SgBoardConst &boardConst, SgGrid line) | |
| void | operator++ () |
| Advance the state of the iteration to the next element. | |
| SgPoint | operator * () const |
| Return the value of the current element. | |
| operator bool () const | |
| Return true if iteration is valid, otherwise false. | |
| SgLineIterator::SgLineIterator | ( | const SgBoardConst & | boardConst, | |
| SgGrid | line | |||
| ) |
Definition at line 270 of file SgBoardConst.h.
| SgPoint SgPointIterator::operator * | ( | ) | const [inherited] |
Return the value of the current element.
Definition at line 57 of file SgPointIterator.h.
References SgPointIterator::m_point.
| SgPointIterator::operator bool | ( | ) | const [inherited] |
Return true if iteration is valid, otherwise false.
Definition at line 62 of file SgPointIterator.h.
References SgPointIterator::m_point, and SG_ENDPOINT.
| void SgPointIterator::operator++ | ( | ) | [inherited] |
Advance the state of the iteration to the next element.
Definition at line 52 of file SgPointIterator.h.
References SgPointIterator::m_point.