Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Member Functions | Private Attributes

GoBlockIterator Class Reference

Iterate over all blocks' anchors on the board. More...

#include <GoBoardUtil.h>

List of all members.

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

Detailed Description

Iterate over all blocks' anchors on the board.

Definition at line 941 of file GoBoardUtil.h.


Constructor & Destructor Documentation

GoBlockIterator::GoBlockIterator ( const GoBoard board  ) 

Definition at line 944 of file GoBoardUtil.h.

GoBlockIterator::GoBlockIterator ( const GoBlockIterator  )  [private]

Not implemented.


Member Function Documentation

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.

References m_p, and SG_ASSERT.

void GoBlockIterator::operator++ (  ) 

Definition at line 952 of file GoBoardUtil.h.

References m_p.

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

Not implemented.


Member Data Documentation

Definition at line 974 of file GoBoardUtil.h.

Referenced by operator bool().

Definition at line 976 of file GoBoardUtil.h.

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


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


Sun Mar 13 2011 Doxygen 1.7.1