Iterate over all blocks' anchors on the board. More...
#include <GoBoardUtil.h>
Public Member Functions | |
GoBlockIterator (const GoBoard &board) | |
void | operator++ () |
SgPoint | operator* () const |
operator bool () const | |
Private Member Functions | |
GoBlockIterator (const GoBlockIterator &) | |
Not implemented. | |
GoBlockIterator & | operator= (const GoBlockIterator &) |
Not implemented. | |
Private Attributes | |
const GoBoard & | m_board |
GoBoard::Iterator | m_p |
Iterate over all blocks' anchors on the board.
Definition at line 941 of file GoBoardUtil.h.
GoBlockIterator::GoBlockIterator | ( | const GoBoard & | board | ) |
Definition at line 944 of file GoBoardUtil.h.
GoBlockIterator::GoBlockIterator | ( | const GoBlockIterator & | ) | [private] |
Not implemented.
GoBlockIterator::operator bool | ( | ) | const |
Definition at line 967 of file GoBoardUtil.h.
References GoBoard::Anchor(), m_board, m_p, and GoBoard::Occupied().
SgPoint GoBlockIterator::operator* | ( | ) | const |
Definition at line 961 of file GoBoardUtil.h.
void GoBlockIterator::operator++ | ( | ) |
Definition at line 952 of file GoBoardUtil.h.
References m_p.
GoBlockIterator& GoBlockIterator::operator= | ( | const GoBlockIterator & | ) | [private] |
Not implemented.
const GoBoard& GoBlockIterator::m_board [private] |
Definition at line 974 of file GoBoardUtil.h.
Referenced by operator bool().
GoBoard::Iterator GoBlockIterator::m_p [private] |
Definition at line 976 of file GoBoardUtil.h.
Referenced by operator bool(), operator*(), and operator++().