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

GoNeighborBlockIterator Class Reference

Iterate through the anchors of all the blocks adjacent to the given point. More...

#include <GoBoardUtil.h>

Inheritance diagram for GoNeighborBlockIterator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GoNeighborBlockIterator (const GoBoard &board, SgPoint p, SgBlackWhite c)
 GoNeighborBlockIterator (const GoBoard &board, SgPoint p, SgBlackWhite c, int maxLib)
void operator++ ()
SgPoint operator* () const
 operator bool () const

Private Attributes

SgPoint m_points [5]
 At most 4 neighbor points, plus terminator.

Detailed Description

Iterate through the anchors of all the blocks adjacent to the given point.

Definition at line 1070 of file GoBoardUtil.h.


Constructor & Destructor Documentation

GoNeighborBlockIterator::GoNeighborBlockIterator ( const GoBoard board,
SgPoint  p,
SgBlackWhite  c 
)

Definition at line 1074 of file GoBoardUtil.h.

References m_points, and GoBoard::NeighborBlocks().

GoNeighborBlockIterator::GoNeighborBlockIterator ( const GoBoard board,
SgPoint  p,
SgBlackWhite  c,
int  maxLib 
)

Definition at line 1080 of file GoBoardUtil.h.

References m_points, and GoBoard::NeighborBlocks().


Member Data Documentation

At most 4 neighbor points, plus terminator.

Definition at line 1090 of file GoBoardUtil.h.

Referenced by GoNeighborBlockIterator().


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


Sun Mar 13 2011 Doxygen 1.7.1