#include <GoUctBoard.h>
Point 'p' must be occupied. Also, the stones can only be accessed for the current board position.
Definition at line 459 of file GoUctBoard.h.
Public Member Functions | |
| StoneIterator (const GoUctBoard &bd, SgPoint p) | |
| void | operator++ () |
| Advance the state of the iteration to the next stone. | |
| SgPoint | operator * () const |
| Return the current stone. | |
| operator bool () const | |
| Return true if iteration is valid, otherwise false. | |
Private Member Functions | |
| StoneIterator (const StoneIterator &) | |
| Not implemented. | |
| StoneIterator & | operator= (const StoneIterator &) |
| Not implemented. | |
Private Attributes | |
| GoUctBoard::Block::StoneIterator | m_it |
| const GoUctBoard & | m_board |
| GoUctBoard::StoneIterator::StoneIterator | ( | const GoUctBoard & | bd, | |
| SgPoint | p | |||
| ) |
Definition at line 520 of file GoUctBoard.h.
References m_board, GoUctBoard::Occupied(), and SG_ASSERT.
| GoUctBoard::StoneIterator::StoneIterator | ( | const StoneIterator & | ) | [private] |
Not implemented.
| SgPoint GoUctBoard::StoneIterator::operator * | ( | ) | const |
| GoUctBoard::StoneIterator::operator bool | ( | ) | const |
Return true if iteration is valid, otherwise false.
Definition at line 538 of file GoUctBoard.h.
References m_it.
| void GoUctBoard::StoneIterator::operator++ | ( | ) |
Advance the state of the iteration to the next stone.
Definition at line 528 of file GoUctBoard.h.
References m_it.
| StoneIterator& GoUctBoard::StoneIterator::operator= | ( | const StoneIterator & | ) | [private] |
Not implemented.
const GoUctBoard& GoUctBoard::StoneIterator::m_board [private] |
Definition at line 474 of file GoUctBoard.h.
Referenced by operator *(), operator bool(), and operator++().