Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoBlockIterator Class Reference

#include <GoBoardUtil.h>

List of all members.


Detailed Description

Iterate over all blocks' anchors on the board.

Definition at line 970 of file 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.
GoBlockIteratoroperator= (const GoBlockIterator &)
 Not implemented.

Private Attributes

const GoBoardm_board
GoBoard::Iterator m_p


Constructor & Destructor Documentation

GoBlockIterator::GoBlockIterator ( const GoBoard board  ) 

Definition at line 973 of file GoBoardUtil.h.

GoBlockIterator::GoBlockIterator ( const GoBlockIterator  )  [private]

Not implemented.


Member Function Documentation

SgPoint GoBlockIterator::operator * (  )  const

Definition at line 990 of file GoBoardUtil.h.

References m_p, and SG_ASSERT.

GoBlockIterator::operator bool (  )  const

Definition at line 996 of file GoBoardUtil.h.

References GoBoard::Anchor(), m_board, m_p, and GoBoard::Occupied().

void GoBlockIterator::operator++ (  ) 

Definition at line 981 of file GoBoardUtil.h.

References m_p.

GoBlockIterator& GoBlockIterator::operator= ( const GoBlockIterator  )  [private]

Not implemented.


Member Data Documentation

const GoBoard& GoBlockIterator::m_board [private]

Definition at line 1003 of file GoBoardUtil.h.

Referenced by operator bool().

GoBoard::Iterator GoBlockIterator::m_p [private]

Definition at line 1005 of file GoBoardUtil.h.

Referenced by operator *(), operator bool(), and operator++().


The documentation for this class was generated from the following file:


17 Jun 2010 Doxygen 1.4.7